]> Dogcows Code - chaz/carfire/blob - CarFire/CarFire/CarFire/IPlayer.cs
7eb761146d66547e563ca3e0b810ccf1ff4f7ef8
[chaz/carfire] / CarFire / CarFire / CarFire / IPlayer.cs
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5 using Microsoft.Xna.Framework;
6 using Microsoft.Xna.Framework.Content;
7 using Microsoft.Xna.Framework.Graphics;
8 using Microsoft.Xna.Framework.Input;
9
10 namespace CarFire
11 {
12 public interface ICharacter
13 {
14 void LoadContent(ContentManager contentManager, GraphicsDeviceManager graphics);
15 void UnloadContent();
16 long Update(GameTime gameTime, NetworkManager networkGame);
17 long Draw(SpriteBatch spriteBatch);
18 int Health { get; }
19 void causeDamageTo(int amount);
20 }
21
22 public interface IPlayer : ICharacter
23 {
24 void MovePlayer(List<Keys> keysPressed);
25 int Score { get; }
26 void powerUp(int amount);
27 void Spawn(Point mapPoint);
28 bool alive { get; }
29 }
30
31 public interface IMonster : ICharacter
32 {
33 bool visible { get; }
34 }
35 }
This page took 0.035349 seconds and 4 git commands to generate.