]> Dogcows Code - chaz/carfire/blob - CarFire/CarFire/CarFire/IPlayer.cs
3e20f837b301aa5a2323cd8c1add51318f6a1d7e
[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 void AddHealth(int healthBoost);
29 void IncreaseDamage(int damageBoost);
30 void PlayAttackSound();
31 void PlayDieSound();*/
32 }
33
34 public interface IMonster : ICharacter
35 {
36 bool visible { get; }
37 }
38 }
This page took 0.034125 seconds and 3 git commands to generate.