- Timestamp:
- 2013-07-03 11:06:25 (10 years ago)
- Location:
- 2013/27/TeemuM/Game/Game/Game
- Files:
-
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
2013/27/TeemuM/Game/Game/Game/Player.cs
r4383 r4386 10 10 { 11 11 const double defaultMoveSpeed = 1000; 12 const double defaultWeaponPower = 10; 12 13 private static Image playerImage = Game.LoadImage("Player"); 13 14 14 15 Weapon weapon; 15 16 double speed = defaultMoveSpeed; 17 double power = defaultWeaponPower; 16 18 17 19 public Player(double width, double height, bool addDefaultControls) : base(width, height) … … 83 85 { 84 86 if (weapon != null) 87 { 88 //weapon.Power = 85 89 weapon.Shoot(); 90 } 86 91 else 87 92 Game.MessageDisplay.Add("Weapon missing");
Note: See TracChangeset
for help on using the changeset viewer.