zengine/doc/html/ZE__ZTimer_8h-source.html
2003-07-05 00:40:44 +00:00

64 lines
4.6 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>/include/ZE_ZTimer.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/include/ZE_ZTimer.h</h1><a href="ZE__ZTimer_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span>
00002 <span class="comment"> This file is Part of the ZEngine Library for 2D game development.</span>
00003 <span class="comment"> Copyright (C) 2002, 2003 James Turk</span>
00004 <span class="comment"></span>
00005 <span class="comment"> Licensed under a BSD-style license.</span>
00006 <span class="comment"></span>
00007 <span class="comment"> The maintainer of this library is James Turk (james@conceptofzero.net) </span>
00008 <span class="comment"> and the home of this Library is http://www.zengine.sourceforge.net</span>
00009 <span class="comment">*******************************************************************************/</span>
00010
00020 <span class="preprocessor">#ifndef __ze_ztimer_h__</span>
00021 <span class="preprocessor"></span><span class="preprocessor">#define __ze_ztimer_h__</span>
00022 <span class="preprocessor"></span>
00023 <span class="preprocessor">#include "<a class="code" href="ZE__ZEngine_8h.html">ZE_ZEngine.h</a>"</span>
00024
00025 <span class="keyword">namespace </span>ZE
00026 {
00027
<a name="l00033"></a><a class="code" href="classZE_1_1ZTimer.html">00033</a> <span class="keyword">class </span><a class="code" href="classZE_1_1ZTimer.html">ZTimer</a>
00034 {
00035 <span class="keyword">protected</span>:
<a name="l00037"></a><a class="code" href="classZE_1_1ZTimer.html#n0">00037</a> <a class="code" href="classZE_1_1ZEngine.html">ZEngine</a>* <a class="code" href="classZE_1_1ZTimer.html#n0">rEngine</a>;
<a name="l00039"></a><a class="code" href="classZE_1_1ZTimer.html#n1">00039</a> <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZTimer.html#n1">rPaused</a>;
<a name="l00041"></a><a class="code" href="classZE_1_1ZTimer.html#n2">00041</a> <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZTimer.html#n2">rUseZEngine</a>;
<a name="l00043"></a><a class="code" href="classZE_1_1ZTimer.html#n3">00043</a> Uint32 <a class="code" href="classZE_1_1ZTimer.html#n3">rPausedTime</a>;
<a name="l00045"></a><a class="code" href="classZE_1_1ZTimer.html#n4">00045</a> Uint32 <a class="code" href="classZE_1_1ZTimer.html#n4">rLastPause</a>;
00046
00053 Uint32 <a class="code" href="classZE_1_1ZTimer.html#b0">GetParentTime</a>() <span class="keyword">const</span>;
00054
00055 <span class="keyword">public</span>:
00056
00063 <a class="code" href="classZE_1_1ZTimer.html#a0">ZTimer</a>(<span class="keywordtype">bool</span> useZEngine=<span class="keyword">true</span>);
00064
00070 <span class="keyword">virtual</span> <a class="code" href="classZE_1_1ZTimer.html#a1">~ZTimer</a>();
00071
00077 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZTimer.html#a2">Reset</a>();
00078
00084 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZTimer.html#a3">Pause</a>();
00085
00091 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZTimer.html#a4">Unpause</a>();
00092
00099 Uint32 <a class="code" href="classZE_1_1ZTimer.html#a5">GetTime</a>() <span class="keyword">const</span>;
00100
00107 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZTimer.html#a6">IsPaused</a>() <span class="keyword">const</span>;
00108 };
00109
00110 }
00111
00112 <span class="preprocessor">#endif //__ze_ztimer_h__</span>
</pre></div><hr><address style="align: right;"><small>Generated on Sun Jun 29 14:13:51 2003 for ZEngine by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>