public abstract class GGWall extends java.lang.Object implements ObjectInstance, MutableState
Modifier and Type | Class and Description |
---|---|
static class |
GGWall.GGHorizontalWall |
static class |
GGWall.GGVerticalWall |
Modifier and Type | Field and Description |
---|---|
int |
e1 |
int |
e2 |
protected java.lang.String |
name |
int |
pos |
int |
type |
Constructor and Description |
---|
GGWall() |
GGWall(int e1,
int e2,
int pos,
int type,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
get(java.lang.Object variableKey)
Returns the value for the given variable key.
|
java.lang.String |
getName() |
java.lang.String |
name()
Returns the name of this object instance
|
MutableState |
set(java.lang.Object variableKey,
java.lang.Object value)
Sets the value for the given variable key.
|
void |
setName(java.lang.String name) |
java.util.List<java.lang.Object> |
variableKeys()
Returns the list of state variable keys.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
className, copyWithName
public int e1
public int e2
public int pos
public int type
protected java.lang.String name
public GGWall()
public GGWall(int e1, int e2, int pos, int type, java.lang.String name)
public java.lang.String name()
ObjectInstance
name
in interface ObjectInstance
public MutableState set(java.lang.Object variableKey, java.lang.Object value)
MutableState
set
in interface MutableState
variableKey
- the key identifier for the variable value to changevalue
- the variable value to which the variable should be set.public java.util.List<java.lang.Object> variableKeys()
State
variableKeys
in interface State
public java.lang.Object get(java.lang.Object variableKey)
State
public java.lang.String getName()
public void setName(java.lang.String name)