1package com.runehive.content.skill.impl.hunter.birdhouse.action;
3import com.runehive.content.skill.impl.hunter.birdhouse.BirdhouseData;
4import com.runehive.content.skill.impl.hunter.birdhouse.PlayerBirdHouseData;
5import com.runehive.game.action.Action;
6import com.runehive.game.action.policy.WalkablePolicy;
7import com.runehive.game.world.entity.mob.player.Player;
8import com.runehive.game.world.entity.mob.player.persist.PlayerSerializer;
9import com.runehive.game.world.items.Item;
10import com.runehive.game.world.object.CustomGameObject;
11import com.runehive.game.world.object.GameObject;
12import com.runehive.net.packet.out.SendAddObject;
31 return "Place birdhouse";
37 getMob().inventory.refresh();
41 getMob().action.getCurrentAction().cancel();
void execute()
A function representing the unit of work that will be carried out.
BirdhouseData birdhouseData
PlaceBirdhouse(Player player, BirdhouseData birdhouseData, GameObject gameObject)
WalkablePolicy getWalkablePolicy()
Gets the WalkablePolicy of this action.
String getName()
Gets the name of this action.
T getMob()
Gets the player.
Action(T mob, int delay, boolean instant)
Creates a new Action randomevent.
This class represents a character controlled by a player.
static void save(Player player)
The container class that represents an item that can be interacted with.
Represents a static game object loaded from the map fs.
A queue policy determines whether the action can occur while walking.
WALKABLE
This indicates actions may occur while walking.
Represents a game object.