My Project
 
Loading...
Searching...
No Matches
GameScene Class Reference

#include <gamescene.h>

Inheritance diagram for GameScene:
Collaboration diagram for GameScene:

Public Member Functions

 GameScene ()
 
void brightness (bool value)
 
virtual void init ()
 
void destroy ()
 
virtual void update ()
 
- Public Member Functions inherited from PixelScene
 PixelScene ()
 
 ~PixelScene ()
 

Static Public Member Functions

static Emitter * emitter ()
 
static FloatingTextstatus ()
 
static Rippleripple (int pos)
 
static void effect (Visual *eff)
 
static void afterObserve ()
 
static void show (Window *wnd)
 
static void ready ()
 
static bool cancel ()
 
static void addMob (Mob *mob, float delay)
 
static void addMob (Mob *mob)
 
static void addBlob (Blob *gas)
 
static void handleCell (int cell)
 
static void selectCell (CellSelector::Listener *listener)
 
static void bossSlain ()
 
static void updateMap (int cell)
 
static void discoverTile (int pos, int oldValue)
 
static void pickUp (Item *item)
 
static WndBagselectItem (WndBag::Listener *listener, WndBag::Mode mode, const std::string &title)
 
- Static Public Member Functions inherited from PixelScene
static BitmapText * createText (float size)
 
static BitmapText * createText (const std::string &text, float size)
 
static BitmapText * createText (Uint16 ch, float size)
 
static BitmapTextMultiline * createMultiline (float size)
 
static BitmapTextMultiline * createMultiline (const std::string &text, float size)
 
static float align (Camera *camera, float pos)
 
static float align (float pos)
 
static void align (Visual *v)
 
static void chooseFont (float size, float zoom)
 
static void showBadge (const Badges::Badge *badge)
 

Additional Inherited Members

- Public Attributes inherited from PixelScene
const float MIN_WIDTH_P = 128
 
const float MIN_HEIGHT_P = 224
 
const float MIN_WIDTH_L = 224
 
const float MIN_HEIGHT_L = 160
 
- Static Public Attributes inherited from PixelScene
static float defaultZoom = 0
 
static float minZoom
 
static float maxZoom
 
static Camera * uiCamera
 
static float scale = 0.3f
 
static bool noFade = false
 
- Protected Member Functions inherited from PixelScene
void fadeIn ()
 
void fadeIn (int color, bool light)
 

Constructor & Destructor Documentation

◆ GameScene()

GameScene::GameScene ( )

Member Function Documentation

◆ addBlob()

void GameScene::addBlob ( Blob * gas)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ addMob() [1/2]

void GameScene::addMob ( Mob * mob)
static
Here is the call graph for this function:

◆ addMob() [2/2]

void GameScene::addMob ( Mob * mob,
float delay )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ afterObserve()

void GameScene::afterObserve ( )
static
Here is the caller graph for this function:

◆ bossSlain()

void GameScene::bossSlain ( )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ brightness()

void GameScene::brightness ( bool value)
Here is the caller graph for this function:

◆ cancel()

bool GameScene::cancel ( )
static
Here is the caller graph for this function:

◆ destroy()

void GameScene::destroy ( )
Here is the call graph for this function:

◆ discoverTile()

void GameScene::discoverTile ( int pos,
int oldValue )
static
Here is the caller graph for this function:

◆ effect()

void GameScene::effect ( Visual * eff)
static
Here is the caller graph for this function:

◆ emitter()

Emitter * GameScene::emitter ( )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleCell()

void GameScene::handleCell ( int cell)
static

◆ init()

void GameScene::init ( )
virtual

Reimplemented from PixelScene.

Here is the call graph for this function:

◆ pickUp()

void GameScene::pickUp ( Item * item)
static
Here is the caller graph for this function:

◆ ready()

void GameScene::ready ( )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ripple()

Ripple * GameScene::ripple ( int pos)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ selectCell()

void GameScene::selectCell ( CellSelector::Listener * listener)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ selectItem()

WndBag * GameScene::selectItem ( WndBag::Listener * listener,
WndBag::Mode mode,
const std::string & title )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ show()

void GameScene::show ( Window * wnd)
static
Here is the caller graph for this function:

◆ status()

FloatingText * GameScene::status ( )
static
Here is the caller graph for this function:

◆ update()

void GameScene::update ( )
virtual
Here is the call graph for this function:

◆ updateMap()

void GameScene::updateMap ( int cell)
static
Here is the caller graph for this function:

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