]> Dogcows Code - chaz/carfire/blob - CarFire/CarFire/CarFire/IPlayer.cs
git-svn-id: https://bd85.net/svn/cs3505_group@168 92bb83a3-7c8f-8a45-bc97-515c4e399668
[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 void DefaultAction();
33 void Chasing(Point Chase);
34 void StartPacing();
35 bool visible { get; }
36 }
37 }
This page took 0.031705 seconds and 4 git commands to generate.