Rabbit Escape  2017-01-14_18:33:47_+0000__(tag:_v0.10.1)
Public Member Functions | Public Attributes | Private Attributes | List of all members
rabbitescape.render.gameloop.GeneralPhysics.WorldModifier Class Reference
Collaboration diagram for rabbitescape.render.gameloop.GeneralPhysics.WorldModifier:
Collaboration graph
[legend]

Public Member Functions

 WorldModifier (World world, SolutionRecorderTemplate solutionRecorder)
 
synchronized void step ()
 
synchronized void addToken (int tileX, int tileY, Token.Type type)
 

Public Attributes

final SolutionRecorderTemplate solutionRecorder
 

Private Attributes

final World world
 

Detailed Description

Everything that modifies the world goes through here, with synchronization.

Public for test

Constructor & Destructor Documentation

rabbitescape.render.gameloop.GeneralPhysics.WorldModifier.WorldModifier ( World  world,
SolutionRecorderTemplate  solutionRecorder 
)

Member Function Documentation

synchronized void rabbitescape.render.gameloop.GeneralPhysics.WorldModifier.addToken ( int  tileX,
int  tileY,
Token.Type  type 
)
synchronized void rabbitescape.render.gameloop.GeneralPhysics.WorldModifier.step ( )

Member Data Documentation

final SolutionRecorderTemplate rabbitescape.render.gameloop.GeneralPhysics.WorldModifier.solutionRecorder
final World rabbitescape.render.gameloop.GeneralPhysics.WorldModifier.world
private

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