public class Entity extends Object
| Constructor and Description |
|---|
Entity(String name,
int code)
instantiates a new entity.
|
| Modifier and Type | Method and Description |
|---|---|
short |
getCode()
Getter for
code. |
String |
getName()
Getter for
name. |
public Entity(String name, int code)
name - entity namecode - entity code (will be casted to short)public short getCode()
code.public String getName()
name.Copyright © 2000–2012 sourceforge. All rights reserved.