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/class_destroyed_object_popup.html | 215 ++++++++++++++++++++++++++++ 1 file changed, 215 insertions(+) create mode 100644 docs/html/class_destroyed_object_popup.html (limited to 'docs/html/class_destroyed_object_popup.html') diff --git a/docs/html/class_destroyed_object_popup.html b/docs/html/class_destroyed_object_popup.html new file mode 100644 index 0000000..6163af3 --- /dev/null +++ b/docs/html/class_destroyed_object_popup.html @@ -0,0 +1,215 @@ + + + + +Rally X: DestroyedObjectPopup Class Reference + + + + + + + + + + + +
+ + +
+ + + + + + + + + + + + + +
+
Rally X + +
+
ELEN3009 Project by Justin Wernick and David Schneider
+
+
+ + + + + +
+
+ +
+
DestroyedObjectPopup Class Reference
+
+
+ +

Object that appears on the screen for a short time when another object has been destroyed. + More...

+ +

#include <DestroyedObjectPopup.h>

+
+Inheritance diagram for DestroyedObjectPopup:
+
+
+ + +LimitedTimeObject +GameObject + +
+ +

List of all members.

+ + + + + + + +

+Public Member Functions

 DestroyedObjectPopup (double x, double y, BitmapStore::Image image)
 Creates the popup at the given location, with the given image.

+Static Private Attributes

static const int POPUP_TIME = 30
 The number of frames that the DestroyedObjectPopup exists before it is destroyed. 1 second at FPS=30.
+

Detailed Description

+

Object that appears on the screen for a short time when another object has been destroyed.

+

Used to give extra visual feedback when a checkpoint has been collected or a Car crashes.

+
Author:
Justin Wernick
+
+David Schneider
+ +

Definition at line 15 of file DestroyedObjectPopup.h.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
DestroyedObjectPopup::DestroyedObjectPopup (double x,
double y,
BitmapStore::Image image 
)
+
+
+ +

Creates the popup at the given location, with the given image.

+
Parameters:
+ + + + +
[in]xThe x coordinate of the object's position.
[in]yThe y coordinate of the object's position.
[in]imageThe bitmap to be shown until the popup disappears.
+
+
+ +

Definition at line 3 of file DestroyedObjectPopup.cpp.

+ +
+
+

Member Data Documentation

+ +
+
+ + + + +
const int DestroyedObjectPopup::POPUP_TIME = 30 [static, private]
+
+
+ +

The number of frames that the DestroyedObjectPopup exists before it is destroyed. 1 second at FPS=30.

+ +

Definition at line 30 of file DestroyedObjectPopup.h.

+ +
+
+
The documentation for this class was generated from the following files: +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator
+ + +
+ +
+ + + + + + + -- cgit v1.2.3