-
Constructor Summary
Constructors
-
Method Summary
void
Renders itself on specified canvas.
boolean
void
Simulates a single time step.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Details
-
update
public void update(float deltaTime)
Simulates a single time step.
Note: Need to be Override
- Specified by:
update in interface Updatable
- Parameters:
deltaTime - elapsed time since last update, in seconds, non-negative
-
draw
public void draw(Canvas canvas)
Description copied from interface: Graphics
Renders itself on specified canvas.
- Specified by:
draw in interface Graphics
- Parameters:
canvas - target, not null
-
isCompleted
public boolean isCompleted()