public static class ICellVisible.Basic extends java.lang.Object implements ICellVisible, java.io.Serializable
ICellVisible.Basic, ICellVisible.Named| Modifier and Type | Field and Description |
|---|---|
float |
packedColor |
char |
symbol |
| Constructor and Description |
|---|
Basic() |
Basic(char symbol,
com.badlogic.gdx.graphics.Color color) |
Basic(char symbol,
float color) |
| Modifier and Type | Method and Description |
|---|---|
float |
getPackedColor() |
char |
getSymbol() |
void |
setPackedColor(float packedColor) |
void |
setSymbol(char symbol) |
public Basic()
public Basic(char symbol,
com.badlogic.gdx.graphics.Color color)
public Basic(char symbol,
float color)
public char getSymbol()
getSymbol in interface ICellVisiblepublic void setSymbol(char symbol)
public float getPackedColor()
getPackedColor in interface ICellVisibleColor.toFloatBits() that this ICellVisible will be shown withpublic void setPackedColor(float packedColor)
Copyright © Eben Howard 2012–2022. All rights reserved.