me.fritz.seattlesummer
Class RainTimers

java.lang.Object
  extended by me.fritz.seattlesummer.RainTimers

public class RainTimers
extends java.lang.Object

Maintains list of timers for each world

Author:
Fritz

Constructor Summary
RainTimers(SeattleSummer instance)
          Maintains list of timers for each world
 
Method Summary
 void cancel(org.bukkit.World world)
          Stops timer for the given world, if one exists
 void start(org.bukkit.World world)
          Starts timer for the given world
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RainTimers

public RainTimers(SeattleSummer instance)
Maintains list of timers for each world

Parameters:
instance - the main SeattleSummer instance.
Method Detail

start

public void start(org.bukkit.World world)
Starts timer for the given world

Parameters:
world - targeted world

cancel

public void cancel(org.bukkit.World world)
Stops timer for the given world, if one exists

Parameters:
world - targeted world