-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce
ArenaManagerOptions
to remove a couple of classes
- Loading branch information
Showing
6 changed files
with
46 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 0 additions & 19 deletions
19
common/src/main/java/com/github/tofpu/speedbridge2/common/game/IslandGameArenaManager.java
This file was deleted.
Oops, something went wrong.
25 changes: 25 additions & 0 deletions
25
...n/java/com/github/tofpu/speedbridge2/common/gameextra/land/arena/ArenaManagerOptions.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package com.github.tofpu.speedbridge2.common.gameextra.land.arena; | ||
|
||
import com.github.tofpu.speedbridge2.object.Vector; | ||
|
||
public class ArenaManagerOptions { | ||
private final Vector initialPosition; | ||
private final int gapBetweenIsland; | ||
|
||
public ArenaManagerOptions(Vector initialPosition, int gapBetweenIsland) { | ||
this.initialPosition = initialPosition; | ||
this.gapBetweenIsland = gapBetweenIsland; | ||
} | ||
|
||
public ArenaManagerOptions(Vector initialPosition) { | ||
this(initialPosition, 10); | ||
} | ||
|
||
public Vector initialPosition() { | ||
return initialPosition; | ||
} | ||
|
||
public int gapBetweenIsland() { | ||
return gapBetweenIsland; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 0 additions & 11 deletions
11
common/src/main/java/com/github/tofpu/speedbridge2/common/setup/IslandSetupArenaManager.java
This file was deleted.
Oops, something went wrong.