Player online list
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
namespace WorldOfPeacecraft
|
||||
{
|
||||
public class Player : Entity
|
||||
public class Player : Entity, IPlayer
|
||||
{
|
||||
private int Score;
|
||||
|
||||
@@ -19,6 +19,11 @@ namespace WorldOfPeacecraft
|
||||
return Score;
|
||||
}
|
||||
|
||||
public string GetName ()
|
||||
{
|
||||
return Desc;
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "Player: " + Id + " " + Coord.X + " " + Coord.Y + " " + Desc + " " + Busy + " " + Score;
|
||||
|
||||
Reference in New Issue
Block a user