Skip to content

Instantly share code, notes, and snippets.

@poemdexter
Created July 8, 2013 18:21
Show Gist options
  • Save poemdexter/5951183 to your computer and use it in GitHub Desktop.
Save poemdexter/5951183 to your computer and use it in GitHub Desktop.
public class Player : Mobs
{
public Player() : base()
{
name = "Forer";
MaxHP = 40;
CurHP = 40;
MaxMP = 10;
CurMP = 10;
Damage = 3;
Defense = 1;
moveList = new List<Moves>();
moveList.Add(Moves.Attack);
moveList.Add(Moves.Wobble);
}
}
// way off in RPGBattlePage.cs
public void ConstructPlayer ()
{
MyPlayer = new Player();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment