]> Dogcows Code - chaz/carfire/blobdiff - CarFire/CarFire/CarFire/IPlayer.cs
New property IEntity.IsCollidable so entities can let the collision code know whether...
[chaz/carfire] / CarFire / CarFire / CarFire / IPlayer.cs
index 7eb761146d66547e563ca3e0b810ccf1ff4f7ef8..6f56cef8863132fa8394a61e31e08303a084c77c 100644 (file)
@@ -9,23 +9,22 @@ using Microsoft.Xna.Framework.Input;
 \r
 namespace CarFire\r
 {\r
-    public interface ICharacter\r
+    public interface ICharacter : IEntity\r
     {\r
-        void LoadContent(ContentManager contentManager, GraphicsDeviceManager graphics);\r
-        void UnloadContent();\r
-        long Update(GameTime gameTime, NetworkManager networkGame);\r
-        long Draw(SpriteBatch spriteBatch);\r
         int Health { get; }\r
         void causeDamageTo(int amount);\r
     }\r
 \r
     public interface IPlayer : ICharacter\r
     {\r
-        void MovePlayer(List<Keys> keysPressed);\r
+        void UpdateInput(TimeSpan timeSpan, List<Keys> keysPressed);\r
         int Score { get; }\r
         void powerUp(int amount);\r
-        void Spawn(Point mapPoint);\r
+        void Spawn(Vector2 spawn);\r
         bool alive { get; }\r
+        void Attack();\r
+        void UpdatePosition(TimeSpan timeSpan, List<Keys> keysPressed);\r
+        \r
     }\r
 \r
     public interface IMonster : ICharacter\r
This page took 0.020313 seconds and 4 git commands to generate.