]> Dogcows Code - chaz/carfire/blob - CarFire/CarFire/CarFire/IPlayer.cs
a22a9decd2b1d66237572eab6908b2bb0b2ab54c
[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 public interface IMonster : ICharacter
30 {
31 bool visible { get; }
32 }
33 }
This page took 0.031269 seconds and 3 git commands to generate.