Jamie Slowgrove - MGP Assignment 2 - JAM
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Macros
jni
src
MapSquare.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
JAM/Entity.h
"
4
9
class
MapSquare
:
public
JAM_Entity
10
{
11
private
:
13
bool
danger
;
14
15
public
:
25
MapSquare
(
JAM_Texture
*
sprite
,
float
x,
float
y,
float
width,
float
height,
bool
danger);
26
30
~MapSquare
();
31
36
void
update
(
float
dt);
37
42
void
setDanger
(
bool
danger);
43
48
bool
getDanger
();
49
};
MapSquare::update
void update(float dt)
Definition:
MapSquare.cpp:23
JAM_Entity::sprite
JAM_Texture * sprite
Definition:
Entity.h:14
JAM_Texture
Creates a Texture for use with a renderer. Creates a Texture from an image file, this can then be use...
Definition:
Texture.h:13
Entity.h
MapSquare::setDanger
void setDanger(bool danger)
Definition:
MapSquare.cpp:30
MapSquare::getDanger
bool getDanger()
Definition:
MapSquare.cpp:39
MapSquare
Creates a MapSquare object that inherits Entity.
Definition:
MapSquare.h:9
MapSquare::~MapSquare
~MapSquare()
Definition:
MapSquare.cpp:16
MapSquare::danger
bool danger
Definition:
MapSquare.h:13
MapSquare::MapSquare
MapSquare(JAM_Texture *sprite, float x, float y, float width, float height, bool danger)
Definition:
MapSquare.cpp:6
JAM_Entity
Creates an Entity object.
Definition:
Entity.h:10
Generated on Fri May 8 2015 04:37:50 for Jamie Slowgrove - MGP Assignment 2 - JAM by
1.8.8