|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PaintingCapableElement
This interface is implemented by elements that can paint other elements with painting lasers
| Method Summary | |
|---|---|
void |
applyPaintingSummary(GameElementPaintingSummary geps)
This routine will synch the painting summary information from the element on the server to the one on the client. |
boolean |
canPaint(int turn)
Returns whether this unit can make a painting attempt on a particular turn |
int |
getMaximumPaintingRange()
Returns the maximum range at which this element can paint a target |
GameElementPaintingSummary |
getPaintingSummary(int turn)
returns a new GameElementPaintingSummary appropriate to the object implementing this interface |
boolean |
hasPainted(int turn)
Returns whether this unit made a painting attempt on a particular turn |
void |
setMadePaintingAttempt(int turn)
Sets that this unit has made a painting attempt on this turn |
| Method Detail |
|---|
boolean canPaint(int turn)
turn -
boolean hasPainted(int turn)
turn -
void setMadePaintingAttempt(int turn)
turn - int getMaximumPaintingRange()
GameElementPaintingSummary getPaintingSummary(int turn)
void applyPaintingSummary(GameElementPaintingSummary geps)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||