Jamie Slowgrove - PGG Assignment 1 - SDL
Main Page
Classes
Files
File List
All
Classes
Functions
PGGAssignment1SDL
gem.h
1
#pragma once
2
#ifndef GEM_H
3
#define GEM_H
4
5
#include "mapObject.h"
6
10
class
Gem
:
public
MapObject
11
{
12
private
:
13
/*the type of the Gem*/
14
int
type;
15
/*the value of the Gem*/
16
int
value;
17
public
:
26
Gem
(
Texture
*,
float
,
float
,
int
);
27
32
~Gem
();
33
38
void
typeSetup
();
39
44
int
getValue
();
45
50
int
getType
();
51
};
52
#endif
Gem
Creates a Gem object that inherits MapObject.
Definition:
gem.h:10
Gem::~Gem
~Gem()
Definition:
gem.cpp:23
MapObject
Creates a MapObject object that inherits Entity.
Definition:
mapObject.h:10
Gem::typeSetup
void typeSetup()
Definition:
gem.cpp:31
Texture
Creates a Texture for use with a renderer Creates a Texture from an image file, this can then be used...
Definition:
texture.h:13
Gem::getValue
int getValue()
Definition:
gem.cpp:61
Gem::Gem
Gem(Texture *, float, float, int)
Definition:
gem.cpp:6
Gem::getType
int getType()
Definition:
gem.cpp:70
Generated on Fri Jan 16 2015 17:55:16 for Jamie Slowgrove - PGG Assignment 1 - SDL by
1.8.8