public class GameLandItem extends Object
Modifier and Type | Field and Description |
---|---|
private int |
code |
private int |
color |
private android.widget.EditText |
etItemMap |
private boolean |
isFinal |
private boolean |
isInitial |
private String |
name |
private android.graphics.Point |
position |
Constructor and Description |
---|
GameLandItem(android.widget.EditText et,
int code,
android.graphics.Point position)
Constructor of the land.
|
Modifier and Type | Method and Description |
---|---|
int |
getCode()
Get the code of the land.
|
int |
getColor()
Get the color code of a land.
|
android.widget.EditText |
getEtItemMap()
Get the edit text of the land Deprecated.
|
String |
getName()
Get the name of the land.
|
android.graphics.Point |
getPosition()
Get the position of the land.
|
boolean |
isFinal()
Check if the land is final.
|
boolean |
isInitial()
Check if the land is initial.
|
void |
setCode(int code)
Set the code of the land.
|
void |
setColor(int color)
Set the color to a land.
|
void |
setEtItemMap(android.widget.EditText etItemMap)
Set the edit text of the land Deprecated.
|
void |
setFinal(boolean aFinal)
Set a land as final.
|
void |
setInitial(boolean initial)
Set a land as initial.
|
void |
setName(String name)
Set the name to a land.
|
void |
setPosition(android.graphics.Point position)
Set the position to a land.
|
private android.widget.EditText etItemMap
private int code
private boolean isInitial
private boolean isFinal
private String name
private int color
private android.graphics.Point position
public GameLandItem(android.widget.EditText et, int code, android.graphics.Point position)
et
- Edit text view for the name.code
- Code of the land.position
- Position of the land.public android.widget.EditText getEtItemMap()
public void setEtItemMap(android.widget.EditText etItemMap)
etItemMap
- public int getCode()
public void setCode(int code)
code
- land code.public boolean isInitial()
public void setInitial(boolean initial)
initial
- boolean value.public boolean isFinal()
public void setFinal(boolean aFinal)
aFinal
- boolean value.public String getName()
public void setName(String name)
name
- Land name.public int getColor()
public void setColor(int color)
color
- Color code.public android.graphics.Point getPosition()
public void setPosition(android.graphics.Point position)
position
- position value.