Files
inf3/src/Player.cs
2014-04-03 11:47:37 +02:00

23 lines
355 B
C#

namespace WorldOfPeacecraft
{
public class Player : Entity
{
private int Score;
public Player (int id, int posX, int posY, string desc, bool busy, int score) : base(id, posX, posY, desc, busy)
{
this.SetScore(score);
}
public void SetScore(int score)
{
this.Score = score;
}
public int GetScore ()
{
return Score;
}
}
}