cMapBlockSpawner Class Reference

List of all members.

Public Member Functions

mixed Init (mixed pBlockClass, mixed pScheduler)
mixed ForAllBlocks (mixed fun)
 calls fun(block) for all blocks
mixed Step (mixed t, mixed x, mixed y)
mixed GetOrCreateMapBlock (mixed bx, mixed by)
 creates new block if needed
mixed GetMapBlock (mixed bx, mixed by)
 returns nil if block doesn't exist
mixed CreateMapBlock (mixed bx, mixed by)
mixed DestroyMapBlock (mixed block)


Detailed Description

Definition at line 3115 of file lua_pseudo_code.cpp.


Member Function Documentation

mixed cMapBlockSpawner::Init ( mixed  pBlockClass,
mixed  pScheduler 
) [inline]

Definition at line 3117 of file lua_pseudo_code.cpp.

mixed cMapBlockSpawner::ForAllBlocks ( mixed  fun  )  [inline]

calls fun(block) for all blocks

Definition at line 3120 of file lua_pseudo_code.cpp.

mixed cMapBlockSpawner::Step ( mixed  t,
mixed  x,
mixed  y 
) [inline]

creates new blocks in area near cam if needed, releases old blocks params : time, focuspos

Definition at line 3124 of file lua_pseudo_code.cpp.

mixed cMapBlockSpawner::GetOrCreateMapBlock ( mixed  bx,
mixed  by 
) [inline]

creates new block if needed

Definition at line 3127 of file lua_pseudo_code.cpp.

mixed cMapBlockSpawner::GetMapBlock ( mixed  bx,
mixed  by 
) [inline]

returns nil if block doesn't exist

Definition at line 3130 of file lua_pseudo_code.cpp.

mixed cMapBlockSpawner::CreateMapBlock ( mixed  bx,
mixed  by 
) [inline]

Definition at line 3132 of file lua_pseudo_code.cpp.

mixed cMapBlockSpawner::DestroyMapBlock ( mixed  block  )  [inline]

Definition at line 3134 of file lua_pseudo_code.cpp.


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

Generated on Fri Mar 29 05:41:09 2013 for lua by  doxygen 1.5.6