public Player(int id, int skinid, int x, int y, Map map, Score score = null) : base(x, y) { _id = id; _skinid = skinid; _upgrades = new List<Upgrade>(); _upgradesBomb = new List<UpgradeBomb>(); _map = map; InitSkills(); }
public Player(int id, int x, int y, Map map, Score score = null) : base(x, y) { _id = id; if(score == null) { _score = new Score(id); } _upgrades = new List<Upgrade>(); _map = map; InitSkills(); }