1: <?php
2: /**
3: * ManiaLive - TrackMania dedicated server manager in PHP
4: *
5: * @copyright Copyright (c) 2009-2011 NADEO (http://www.nadeo.com)
6: * @license http://www.gnu.org/licenses/lgpl.html LGPL License 3
7: * @version $Revision: 280 $:
8: * @author $Author: martin.gwendal $:
9: * @date $Date: 2011-11-07 19:21:52 +0100 (lun., 07 nov. 2011) $:
10: */
11:
12: namespace ManiaLive\Features\Tick;
13:
14: class Event extends \ManiaLive\Event\Event
15: {
16: const ON_TICK = 1;
17:
18: function __construct($onWhat = self::ON_TICK)
19: {
20: parent::__construct($onWhat);
21: }
22:
23: function fireDo($listener)
24: {
25: $listener->onTick();
26: }
27: }
28:
29: ?>