]> Dogcows Code - chaz/carfire/blob - CarFire/CarFire/CarFire/IPlayer.cs
6f56cef8863132fa8394a61e31e08303a084c77c
[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 UpdateInput(TimeSpan timeSpan, List<Keys> keysPressed);
21 int Score { get; }
22 void powerUp(int amount);
23 void Spawn(Vector2 spawn);
24 bool alive { get; }
25 void Attack();
26 void UpdatePosition(TimeSpan timeSpan, List<Keys> keysPressed);
27
28 }
29
30 public interface IMonster : ICharacter
31 {
32 bool visible { get; }
33 }
34 }
This page took 0.032213 seconds and 3 git commands to generate.