public void IncreaseFloor(int currentfloor, int towerid) { var tower = new DbTower(_db, towerid) { CurrentFloor = towerid }; tower.FlushAsync(); }
public void SetClearer(int id, string name) { var tower = new DbTower(_db, id) { Clearer = name }; tower.FlushAsync(); }
public void CreateTower(int towerid, int maxfloor) { var tower = new DbTower(_db, towerid) { MaxFloor = maxfloor, CurrentFloor = 0, Clearer = "", }; tower.FlushAsync(); }