RuneHive-Game
Loading...
Searching...
No Matches
Hitsplat.java
Go to the documentation of this file.
1
package
com.runehive.game.world.entity.combat.hit;
2
3
public
enum
Hitsplat
{
4
5
/** Represents a normal hit type. */
6
NORMAL
(0),
7
8
/** Represents a poison hit type. */
9
POISON
(2),
10
11
/** Represents a venom hit type. */
12
VENOM
(3),
13
14
/** Represents a heal hit type. */
15
CRITICAL
(4);
16
17
/** The identification for this hit type. */
18
private
final
int
id
;
19
20
/**
21
* Create a new {@link Hitsplat}.
22
*
23
* @param id the identification for this hit type.
24
*/
25
Hitsplat
(
int
id
) {
26
this.id =
id
;
27
}
28
29
/**
30
* Gets the identification for this hit type.
31
*
32
* @return the identification for this hit type.
33
*/
34
public
final
int
getId
() {
35
return
id
;
36
}
37
38
}
com.runehive.game.world.entity.combat.hit.Hitsplat.CRITICAL
CRITICAL
Represents a heal hit type.
Definition
Hitsplat.java:15
com.runehive.game.world.entity.combat.hit.Hitsplat.POISON
POISON
Represents a poison hit type.
Definition
Hitsplat.java:9
com.runehive.game.world.entity.combat.hit.Hitsplat.VENOM
VENOM
Represents a venom hit type.
Definition
Hitsplat.java:12
com.runehive.game.world.entity.combat.hit.Hitsplat.NORMAL
NORMAL
Represents a normal hit type.
Definition
Hitsplat.java:6
com.runehive.game.world.entity.combat.hit.Hitsplat.getId
final int getId()
Gets the identification for this hit type.
Definition
Hitsplat.java:34
com.runehive.game.world.entity.combat.hit.Hitsplat.id
final int id
The identification for this hit type.
Definition
Hitsplat.java:18
com.runehive.game.world.entity.combat.hit.Hitsplat.Hitsplat
Hitsplat(int id)
Create a new Hitsplat.
Definition
Hitsplat.java:25