| Modifier and Type | Field and Description |
|---|---|
private long |
actionPoints
The action points.
|
private long |
healthPoints
The health points.
|
protected org.slf4j.Logger |
logger
The Constant slf4jLogger.
|
private long |
manaPoints
The mana points.
|
private String |
name
The name.
|
| Constructor and Description |
|---|
Actor()
Instantiates a new actor.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getActionPoints()
Gets the action points.
|
long |
getHealthPoints()
Gets the health points.
|
org.slf4j.Logger |
getLogger() |
long |
getManaPoints()
Gets the mana points.
|
String |
getName()
Gets the name.
|
void |
setActionPoints(long aP)
Sets the action points.
|
void |
setHealthPoints(long hP)
Sets the health points.
|
void |
setManaPoints(long mP)
Sets the mana points.
|
void |
setName(String n)
Sets the name.
|
protected final org.slf4j.Logger logger
private long healthPoints
private long manaPoints
private long actionPoints
private String name
public final org.slf4j.Logger getLogger()
public final long getHealthPoints()
public final void setHealthPoints(long hP)
hP - the new health pointspublic final long getManaPoints()
public final void setManaPoints(long mP)
mP - the new mana pointspublic final long getActionPoints()
public final void setActionPoints(long aP)
aP - the new action pointspublic final String getName()
public final void setName(String n)
n - the new nameCopyright © 2016. All rights reserved.