Revision 7189,
462 bytes
checked in by jotapoti, 5 years ago
(diff) |
pelaajan liikkumista säädetty
|
Line | |
---|
1 | using System; |
---|
2 | using System.Collections.Generic; |
---|
3 | using Jypeli; |
---|
4 | using Jypeli.Assets; |
---|
5 | using Jypeli.Controls; |
---|
6 | using Jypeli.Effects; |
---|
7 | using Jypeli.Widgets; |
---|
8 | |
---|
9 | public class Player : PlatformCharacter2 |
---|
10 | { |
---|
11 | public Player(double leveys, double korkeus, Image pic, Color color) |
---|
12 | : base(leveys, korkeus) |
---|
13 | { |
---|
14 | Image = pic; |
---|
15 | Color = color; |
---|
16 | CanRotate = false; |
---|
17 | |
---|
18 | Tag = "player"; |
---|
19 | Acceleration = 5000; |
---|
20 | |
---|
21 | } |
---|
22 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.