/// <summary> /// Generates a new arena with default settings. /// </summary> /// <param name="width">The width of the arena, in game units.</param> /// <param name="height">The height of the arena, in game units/</param> /// <returns>A new arena object, already added to the managed list.</returns> public static LoadableBattleArena Create(float width, float height) { LoadableBattleArena arena = new LoadableBattleArena(width, height, 40); Arenas.Add(arena); return(arena); }
/// <summary> /// Generates a new arena with default settings. /// </summary> /// <param name="width">The width of the arena, in game units.</param> /// <param name="height">The height of the arena, in game units/</param> /// <returns>A new arena object, already added to the managed list.</returns> public static LoadableBattleArena Create(float width, float height) { LoadableBattleArena arena = new LoadableBattleArena(width, height, 40); Arenas.Add(arena); return arena; }