1package com.runehive.content.activity.impl.pestcontrol;
3import com.runehive.content.activity.lobby.LobbyManager;
4import com.runehive.content.activity.lobby.LobbyNode;
5import com.runehive.game.world.entity.mob.player.Player;
6import com.runehive.game.world.position.Position;
59 player.
message(
true,
"You have entered the pest control boat.");
64 player.
message(
true,
"You have left the pest control waiting boat.");
69 player.
message(
"This boat doesn't need any more players.");
74 player.
message(
"A game is already active. Please wait for the next boat to depart.");
static final PestControlLobby PEST_CONTROL
The pest control instance, used for managing all activities.
static final int LOBBY_COOLDOWN
The lobby cooldown timer in ticks (30 seconds).
void onEnter(Player player)
void exceededPlayerCapacity(Player player)
static void sequence()
Sequences all the active PestControlGame.
static final Position INSIDE_BOAT_POSITION
The position inside the pest control boat.
static final int PLAYER_CAPACITY
The player capacity.
static final int GAME_COOLDOWN
The game cooldown timer in ticks (10 minutes).
static final int MINIMUM_PLAYERS
The minimum amount of players required to start.
static final int GAME_CAPACITY
The active game limit.
void onLeave(Player player)
void exceededGameCapacity(Player player)
PestControlLobby()
Constructs a new PestControlLobby.
static void joinBoat(Player player)
Joins a Player into a PestControlGame lobby.
LobbyManager(int gameCapacity, int playerCapacity, int minimumRequired, int lobbyCooldown, int gameCooldown)
void move(Position position)
Moves the mob to a set position.
This class represents a character controlled by a player.
void message(String message)
Represents a single tile on the game world.