Jamie Slowgrove - PGG Assignment 1 - SDL
Main Page
Classes
Files
File List
All
Classes
Functions
PGGAssignment1SDL
block.h
1
#pragma once
2
#ifndef BLOCK_H
3
#define BLOCK_H
4
5
#include "mapObject.h"
6
10
class
Block
:
public
MapObject
11
{
12
private
:
13
/*the type of the Block*/
14
int
type;
15
public
:
25
Block
(
Texture
*,
float
,
float
,
int
,
int
);
26
31
~Block
();
32
38
void
typeSetup
(
int
);
39
44
int
getType
();
45
};
46
#endif
Block::~Block
~Block()
Definition:
block.cpp:23
Block::typeSetup
void typeSetup(int)
Definition:
block.cpp:31
Block::Block
Block(Texture *, float, float, int, int)
Definition:
block.cpp:6
MapObject
Creates a MapObject object that inherits Entity.
Definition:
mapObject.h:10
Block
Creates a Block object that inherits MapObject.
Definition:
block.h:10
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
Block::getType
int getType()
Definition:
block.cpp:88
Generated on Fri Jan 16 2015 17:55:16 for Jamie Slowgrove - PGG Assignment 1 - SDL by
1.8.8