|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.tudey.util.TilePainter
public class TilePainter
Encapsulates the logic used to "paint" ground and wall tiles.
| Constructor Summary | |
|---|---|
TilePainter(ConfigManager cfgmgr,
TudeySceneModel scene,
EntryManipulator manipulator)
Creates a new tile painter. |
|
| Method Summary | |
|---|---|
void |
paintGround(CoordSet coords,
ConfigReference<GroundConfig> ground,
int elevation)
Paints the specified coordinates with ground. |
void |
paintGround(CoordSet coords,
ConfigReference<GroundConfig> ground,
int elevation,
boolean erase,
boolean revise)
Paints the specified coordinates with ground. |
void |
paintWall(CoordSet coords,
ConfigReference<WallConfig> wall,
int elevation)
Paints the specified coordinates with wall. |
void |
paintWall(CoordSet coords,
ConfigReference<WallConfig> wall,
int elevation,
boolean erase,
boolean revise)
Paints the specified coordinates with wall. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TilePainter(ConfigManager cfgmgr,
TudeySceneModel scene,
EntryManipulator manipulator)
| Method Detail |
|---|
public void paintGround(CoordSet coords,
ConfigReference<GroundConfig> ground,
int elevation)
public void paintGround(CoordSet coords,
ConfigReference<GroundConfig> ground,
int elevation,
boolean erase,
boolean revise)
erase - if true, erase the ground within the coordinates.revise - if true, replace existing tiles with new variants.
public void paintWall(CoordSet coords,
ConfigReference<WallConfig> wall,
int elevation)
public void paintWall(CoordSet coords,
ConfigReference<WallConfig> wall,
int elevation,
boolean erase,
boolean revise)
erase - if true, erase the wall within the coordinates.revise - if true, replace existing tiles with new variants.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||