Register Search and Destroy in GameFactory
This commit is contained in:
parent
60fd6b01cc
commit
5bf185e588
@ -3,6 +3,7 @@ package nautilus.game.arcade;
|
||||
import java.util.HashMap;
|
||||
|
||||
import nautilus.game.arcade.game.games.sneakyassassins.*;
|
||||
|
||||
import org.bukkit.ChatColor;
|
||||
|
||||
import nautilus.game.arcade.game.Game;
|
||||
@ -31,6 +32,7 @@ import nautilus.game.arcade.game.games.mineware.MineWare;
|
||||
import nautilus.game.arcade.game.games.quiver.Quiver;
|
||||
import nautilus.game.arcade.game.games.quiver.QuiverTeams;
|
||||
import nautilus.game.arcade.game.games.runner.Runner;
|
||||
import nautilus.game.arcade.game.games.searchanddestroy.SearchAndDestroy;
|
||||
import nautilus.game.arcade.game.games.sheep.SheepGame;
|
||||
import nautilus.game.arcade.game.games.smash.SuperSmash;
|
||||
import nautilus.game.arcade.game.games.smash.SuperSmashDominate;
|
||||
@ -87,6 +89,7 @@ public class GameFactory
|
||||
else if (gameType == GameType.Quiver) return new Quiver(_manager);
|
||||
else if (gameType == GameType.QuiverTeams) return new QuiverTeams(_manager);
|
||||
else if (gameType == GameType.Runner) return new Runner(_manager);
|
||||
else if (gameType == GameType.SearchAndDestroy) return new SearchAndDestroy(_manager);
|
||||
else if (gameType == GameType.SnowFight) return new SnowFight(_manager);
|
||||
else if (gameType == GameType.Sheep) return new SheepGame(_manager);
|
||||
else if (gameType == GameType.Smash) return new SuperSmash(_manager);
|
||||
|
Loading…
Reference in New Issue
Block a user