RuneHive-Game
Loading...
Searching...
No Matches
WintertodtAction.java
Go to the documentation of this file.
1package com.runehive.content.wintertodt;
2
3import com.runehive.game.action.Action;
4import com.runehive.game.action.policy.WalkablePolicy;
5import com.runehive.game.world.entity.mob.player.Player;
6
7public class WintertodtAction extends Action<Player> {
8
9 public WintertodtAction(Player player) {
10 super(player, 1);
11 }
12
13 @Override
17
18 @Override
19 public String getName() {
20 return "Wintertodt interuptable action";
21 }
22
23 @Override
24 protected void execute() {
25
26 }
27}
String getName()
Gets the name of this action.
void execute()
A function representing the unit of work that will be carried out.
WalkablePolicy getWalkablePolicy()
Gets the WalkablePolicy of this action.
Action(T mob, int delay, boolean instant)
Creates a new Action randomevent.
Definition Action.java:24
This class represents a character controlled by a player.
Definition Player.java:125
A queue policy determines whether the action can occur while walking.
NON_WALKABLE
This indicates actions cannot occur while walking.