RuneHive-Game
Loading...
Searching...
No Matches
Expression.java
Go to the documentation of this file.
1package com.runehive.content.dialogue;
2
3/**
4 * Represents the expressions of entities for dialogue.
5 *
6 * @author Daniel | Obey
7 */
8public enum Expression {
9 HAPPY(588),
10 ANXIOUS(589),
12 DEFAULT(591),
13 EVIL(592),
14 BAD(593),
15 WICKED(594),
16 ANNOYED(595),
22 SLEEPY(603),
24 LAUGH(605),
25 SNIGGER(606),
27 GUFFAW(608),
30 SAD(599),
35 ANGRY(614),
36 FURIOUS(615),
37 ENRAGED(616),
38 MAD(617);
39
40 /** The id for this expression. */
41 private final int expression;
42
43 /**
44 * Creates a new {@link Expression}.
45 *
46 * @param expression The id for this expression.
47 */
49 this.expression = expression;
50 }
51
52 /**
53 * Gets the id for this expression.
54 *
55 * @return The id of this expression.
56 */
57 public final int getId() {
58 return expression;
59 }
60}
final int expression
The id for this expression.
Expression(int expression)
Creates a new Expression.
final int getId()
Gets the id for this expression.