From 98ba22e7064db57316dfff1ae127feb3dceeb73e Mon Sep 17 00:00:00 2001 From: Justin Worthe Date: Thu, 31 Jul 2014 13:58:22 +0200 Subject: Initial commit --- docs/html/_limited_time_object_8cpp_source.html | 123 ++++++++++++++++++++++++ 1 file changed, 123 insertions(+) create mode 100644 docs/html/_limited_time_object_8cpp_source.html (limited to 'docs/html/_limited_time_object_8cpp_source.html') diff --git a/docs/html/_limited_time_object_8cpp_source.html b/docs/html/_limited_time_object_8cpp_source.html new file mode 100644 index 0000000..78c0425 --- /dev/null +++ b/docs/html/_limited_time_object_8cpp_source.html @@ -0,0 +1,123 @@ + + + + +Rally X: source/logic/LimitedTimeObject.cpp Source File + + + + + + + + + + + +
+ + +
+ + + + + + + + + + + + + +
+
Rally X + +
+
ELEN3009 Project by Justin Wernick and David Schneider
+
+
+ + + + + +
+
+
source/logic/LimitedTimeObject.cpp
+
+
+Go to the documentation of this file.
00001 #include "LimitedTimeObject.h"
+00002 
+00003 LimitedTimeObject::LimitedTimeObject(double x, double y, BitmapStore::Image image, int time)
+00004     :GameObject(x,y,image),
+00005     _remainingTime(time)
+00006 {
+00007 }
+00008 
+00009 void LimitedTimeObject::update()
+00010 {
+00011     --_remainingTime;
+00012     if (_remainingTime<=0)
+00013     {
+00014         _destroyed = true;
+00015     }
+00016 }
+
+
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator
+ + +
+ +
+ + + + + + + -- cgit v1.2.3