public static class GGWall.GGHorizontalWall extends GGWall
GGWall.GGHorizontalWall, GGWall.GGVerticalWall
Constructor and Description |
---|
GGHorizontalWall() |
GGHorizontalWall(int e1,
int e2,
int pos,
int type,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
className()
Returns the name of this OO-MDP object class
|
GGWall.GGHorizontalWall |
copy()
Returns a copy of this state suitable for creating state transitions.
|
GGWall.GGHorizontalWall |
copyWithName(java.lang.String objectName)
Returns a copy of this
ObjectInstance with the specified name |
public GGHorizontalWall()
public GGHorizontalWall(int e1, int e2, int pos, int type, java.lang.String name)
public java.lang.String className()
ObjectInstance
public GGWall.GGHorizontalWall copyWithName(java.lang.String objectName)
ObjectInstance
ObjectInstance
with the specified nameobjectName
- the new name for the objectpublic GGWall.GGHorizontalWall copy()
State
DeepCopyState
or ShallowCopyState
annotations. If it is a shallow copy, you should not *directly*
modify any fields of a copied state without copying the fields first, or it could contaminate the state from
which the copy was made. Alternatively, use the MutableState.set(Object, Object)
method to modify
ShallowCopyState
copied states,
which for ShallowCopyState
instances should perform a safe copy-on-write operation.