us.asciiroth.client.core
Class ModifiableSymbol
java.lang.Object
us.asciiroth.client.core.ModifiableSymbol
public class ModifiableSymbol
- extends java.lang.Object
Immutability has been a big success in this game, in terms of keeping the
bugs due to behavior under control. But when it comes time to render and
you have to combine these symbols in to one, we need an object to keep
track of the union of the parts. This is it. Pieces should not use this.
Method Summary |
void |
addPiece(Piece piece,
boolean outside)
Overwrite any of the components of the symbol so far with any
that are defined for the supplied symbol. |
void |
addSymbol(Symbol sym,
boolean outside)
Overwrite any of the components of the symbol so far with any
that are defined for the supplied symbol. |
java.lang.String |
getBackground()
|
java.lang.String |
getColor()
|
java.lang.String |
getEntity()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModifiableSymbol
public ModifiableSymbol()
addPiece
public void addPiece(Piece piece,
boolean outside)
- Overwrite any of the components of the symbol so far with any
that are defined for the supplied symbol.
- Parameters:
piece
- outside
-
addSymbol
public void addSymbol(Symbol sym,
boolean outside)
- Overwrite any of the components of the symbol so far with any
that are defined for the supplied symbol.
- Parameters:
sym
- outside
-
getBackground
public java.lang.String getBackground()
getColor
public java.lang.String getColor()
getEntity
public java.lang.String getEntity()
© 2009 Alx Dark