Skyline Lua API  Version 1.0 RC1
Lua Script Reference for Skyline Game Engine.
LUA_API_Time.h
Go to the documentation of this file.
1 // | _ ____ __ _
2 // | / \ _ _ _ __ __ _/ ___| ___ / _| |_
3 // | / _ \| | | | '__/ _` \___ \ / _ \| |_| __|
4 // | / ___ \ |_| | | | (_| |___) | (_) | _| |_
5 // | /_/ \_\__,_|_| \__,_|____/ \___/|_| \__|
6 // |
7 // | Aurasoft UK 2008 - 2016 http://www.aurasoft.co.uk
8 // |
9 // | Skyline Game Engine Lua API Documentation
10 // |
11 // | This file belongs to Aurasoft UK for the Skyline Game Engine of all versions.
12 // | This file is not for use in any other software that is not owned by Aurasoft UK and cannot be used by any other
13 // | person outside of the Skyline Game Engine development team.
14 // |
15 // | © Copyright - Aurasoft UK & Skyline Game Engine 2008 - 2016
16 // |
17 
18 // SKYLINE LUA CLASS FOR API DOCUMENTATION
19 
27 class time
28 {
29 public:
30 
60  void startTimer(int gameState, int object_id, float interval);
61 
89  void stopTimer(int gameState, int object_id);
90 
132  void startMultiTimer(int timerID, int object_id, float interval);
133 
173  void stopMultiTimer(int timerID, int object_id);
174 };
void stopTimer(int gameState, int object_id)
This function stops the timer named timer_id.
void startMultiTimer(int timerID, int object_id, float interval)
When called this function it creates a new managed Multi Timer set to trigger at an interval(ms) spec...
Definition: LUA_API_Time.h:27
void startTimer(int gameState, int object_id, float interval)
When called this function it creates a new managed timer set to trigger at an interval(ms) specified ...
void stopMultiTimer(int timerID, int object_id)
This function stops the Multi Timer named timer_id.