Genuts API

com.genuts.gameui
Interface Tickable

All Known Implementing Classes:
AnimatedSprite, LCDAnimatedSprite, ScrollingImageSprite, SpriteWrapper

public interface Tickable

When an object need to receive a tick, it has to implement this interface, and the playfield will call its method every ticks.

See Also:
PlayField.addTickable(Tickable)

Method Summary
 void tick(int ticks)
          The object receives a tick as desired.
 

Method Detail

tick

public void tick(int ticks)
The object receives a tick as desired.

Parameters:
ticks - Tick number from the playfield.

Genuts API

Genuts API