ch.sahits.game.openpatrician.model
Interface IClockUpdateListenable

All Known Implementing Classes:
Date

public interface IClockUpdateListenable

Interface defining a listenable object for clock time updates

Author:
Andi Hotz, (c) Sahits GmbH, 2011 Created on Nov 28, 2011

Method Summary
 void add(IClockUpdateListener listener)
          Add a new listener that should be updated
 void notifyTick()
          Notify all registered listeners of a clock tick
 void notifyTickUpdate()
          Notify all registered listeners of the change in update tick size in minutes
 void remove(IClockUpdateListener listener)
          Remove a listener from the queue
 

Method Detail

add

void add(IClockUpdateListener listener)
Add a new listener that should be updated

Parameters:
listener -

remove

void remove(IClockUpdateListener listener)
Remove a listener from the queue

Parameters:
listener -

notifyTick

void notifyTick()
Notify all registered listeners of a clock tick


notifyTickUpdate

void notifyTickUpdate()
Notify all registered listeners of the change in update tick size in minutes



Copyright © 2011-2012 Sahits GmbH. All Rights Reserved.