using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; public class Player { public int id; public int posX; public int posY; public int points; public string type; public bool busy; public Player(int id, int posX, int posY, int points, string type, bool busy) { this.setId(id); this.setPosX(posX); this.setPosY(posY); this.setPoints(points); this.setType(type); this.setBusy(busy); } public void setId(int id) { this.id = id; } public int getId() { return id; } public void setPosX(int x) { this.posX = x; } public int getPosX() { return posX; } public void setPosY(int y) { this.posY = y; } public int getPosY() { return posY; } public void setPoints(int points) { this.points = points; } public int getPoints() { return points; } public void setType(string type) { this.type = type; } public string getType() { return type; } public void setBusy(bool busy) { this.busy = busy; } public bool getBusy() { return busy; } }