RuneHive-Game
Loading...
Searching...
No Matches
SnareTrap.java
Go to the documentation of this file.
1package com.runehive.content.skill.impl.hunter.trap;
2
3import com.runehive.game.world.entity.mob.player.Player;
4import com.runehive.game.world.object.GameObject;
5
6public class SnareTrap extends Trap {
7
8 private TrapState state;
9
11 super(obj, state, ticks, p);
12 }
13
15 return state;
16 }
17
18 public void setState(TrapState state) {
19 this.state = state;
20 }
21}
22
SnareTrap(GameObject obj, TrapState state, int ticks, Player p)
int ticks
The amount of ticks this object should stay for.
Definition Trap.java:17
Trap(GameObject object, TrapState state, int ticks, Player owner)
Reconstructs a new Trap.
Definition Trap.java:23
This class represents a character controlled by a player.
Definition Player.java:125
The possible states a trap can be in.
Definition Trap.java:9