常用方法
常用方法
常用方法
常用方法
private void SetDefaultCharacterLocation(ICharacter c) { var xLoc = c.GetAlliance() == Alliance.TeamOne ? 0 : (ArenaFloor.GetLength(0) - 1); var yLoc = c.GetAlliance() == Alliance.TeamOne ? (ArenaFloor.GetLength(1) - 1) : 0; ArenaFloor[xLoc, yLoc].AddEntityToTile((Character)c); }