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

#include <itemsprite.h>

Inheritance diagram for ItemSprite:
Collaboration diagram for ItemSprite:

Classes

class  Glowing
 

Public Member Functions

 ItemSprite ()
 
 ItemSprite (Item *item)
 
 ItemSprite (int image, Glowing *glowing)
 
void originToCenter ()
 
void link ()
 
void link (Heap *heap)
 
virtual void revive ()
 
PointF worldToCamera (int cell)
 
void place (int p)
 
void drop ()
 
void drop (int from)
 
ItemSpriteview (int image, Glowing *glowing)
 
virtual void update ()
 

Static Public Member Functions

static int pick (int index, int x, int y)
 

Public Attributes

Heapheap
 

Static Public Attributes

static const int SIZE = 16
 

Static Protected Attributes

static TextureFilm * film = NULL
 

Constructor & Destructor Documentation

◆ ItemSprite() [1/3]

ItemSprite::ItemSprite ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ItemSprite() [2/3]

ItemSprite::ItemSprite ( Item * item)
Here is the call graph for this function:

◆ ItemSprite() [3/3]

ItemSprite::ItemSprite ( int image,
Glowing * glowing )
Here is the call graph for this function:

Member Function Documentation

◆ drop() [1/2]

void ItemSprite::drop ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ drop() [2/2]

void ItemSprite::drop ( int from)
Here is the call graph for this function:

◆ link() [1/2]

void ItemSprite::link ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ link() [2/2]

void ItemSprite::link ( Heap * heap)
Here is the call graph for this function:

◆ originToCenter()

void ItemSprite::originToCenter ( )
Here is the caller graph for this function:

◆ pick()

int ItemSprite::pick ( int index,
int x,
int y )
static
Here is the caller graph for this function:

◆ place()

void ItemSprite::place ( int p)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ revive()

void ItemSprite::revive ( )
virtual
Here is the caller graph for this function:

◆ update()

void ItemSprite::update ( )
virtual

Reimplemented in Toolbar::PickedUpItem.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ view()

ItemSprite * ItemSprite::view ( int image,
ItemSprite::Glowing * glowing )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ worldToCamera()

PointF ItemSprite::worldToCamera ( int cell)
Here is the caller graph for this function:

Member Data Documentation

◆ film

TextureFilm * ItemSprite::film = NULL
staticprotected

◆ heap

Heap* ItemSprite::heap

◆ SIZE

const int ItemSprite::SIZE = 16
static

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