Classempathy::You
empathy
Bases
Constructors
Member Functions

Classempathy::You

You have all the brains. And the brains manipulate lifeEvents on You.

Bases

radio::Subscriber

The class to be overridden to emit/receive events.

Constructors

You ( )

The constructor.

Member Functions

void
addBrain ( brain::Brain * )

Start a brain.

void
addLifeEvent ( life_event::LifeEvent * )

Add a lifeEvent to the queue.

void
blit ( )

Render all lifeEvents on the screen.

int
calcFPS ( GLfloat curTime )

Calculate FPS.

curTime
return
void
clearLifeEvents ( )

Clear the lifeEvents queue.

getBackground ( )
return
  • static
You *
getInstance ( )

Return the lastinstance.

return
void
init ( )

Initialize You. And GL.

void
removeLifeEvent ( life_event::LifeEvent * )

Remove a lifeEvent from the queue.

void
setTime ( GLfloat )

Called from the Empathy app. This comes directly from the flavor in which Empathy runs on.

void
terminate ( )

The Terminator kills you. o.o