]> Dogcows Code - chaz/carfire/blob - CarFire/CarFire/CarFire/IPlayer.cs
Basic Changes to Character, Small Changes to Display as well to make it so a Player...
[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);
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 int GridX { get; set; }
21 int GridY { get; set; }
22 }
23
24 public interface IPlayer : ICharacter
25 {
26 void MovePlayer(List<Keys> keysPressed);
27 int Score { get; }
28 void powerUp(int amount);
29 void Spawn(Vector2 spawn);
30 bool alive { get; }
31 }
32
33 public interface IMonster : ICharacter
34 {
35 bool visible { get; }
36 }
37 }
This page took 0.031917 seconds and 4 git commands to generate.