Educational Game Platform
Public Slots | Public Member Functions | Public Attributes | List of all members
gameScene_1_player Class Reference
Inheritance diagram for gameScene_1_player:

Public Slots

void moveInstantaneous ()
 gameScene_1_player::moveInstantaneous More...
 
void setup (int playerid)
 gameScene_1_player::setup More...
 

Public Member Functions

 gameScene_1_player (QObject *parent=0)
 

Public Attributes

QGraphicsScene * parentScene
 
bool * goForward
 Bool used in movement logic.
 
int * id
 ID used for player1/player2.
 
int * position
 Used to store player position.
 
int * newPosition
 Used to store player position.
 

Member Function Documentation

◆ moveInstantaneous

void gameScene_1_player::moveInstantaneous ( )
slot

gameScene_1_player::moveInstantaneous

Move the player to its newly assigned position

◆ setup

void gameScene_1_player::setup ( int  playerid)
slot

gameScene_1_player::setup

Parameters
playerid: id for player

Initializing the player instance


The documentation for this class was generated from the following files: