]> Dogcows Code - chaz/carfire/blob - CarFire/CarFire/CarFire/IPlayer.cs
SaberMonster loads from map file and walks around using the path finder, and a lot...
[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 : IEntity
13 {
14 int Health { get; }
15 void causeDamageTo(int amount);
16 }
17
18 public interface IPlayer : ICharacter
19 {
20 void MovePlayer(TimeSpan timeSpan, List<Keys> keysPressed);
21 int Score { get; }
22 void powerUp(int amount);
23 void Spawn(Vector2 spawn);
24 bool alive { get; }
25 }
26
27 public interface IMonster : ICharacter
28 {
29 bool visible { get; }
30 }
31 }
This page took 0.031001 seconds and 4 git commands to generate.