Moved blockticking into blockhandler classes.
Also slightly refactored the variable / argument names (BlockID is deprecated, use BlockType instead) git-svn-id: http://mc-server.googlecode.com/svn/trunk@921 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
@@ -29,11 +29,11 @@ public:
|
||||
//Gets the flowing direction. if a_Over is true also the block over the current block affects the direction (standard)
|
||||
Direction GetFlowingDirection(int a_X, int a_Y, int a_Z, bool a_Over = true);
|
||||
|
||||
virtual bool IsAllowedBlock( BLOCKTYPE a_BlockID ) = 0;
|
||||
virtual bool IsStationaryBlock( BLOCKTYPE a_BlockID);
|
||||
virtual bool IsPassableForFluid( BLOCKTYPE a_BlockID );
|
||||
bool CanWashAway( BLOCKTYPE a_BlockID );
|
||||
bool IsSolidBlock(BLOCKTYPE a_BlockID);
|
||||
virtual bool IsAllowedBlock( BLOCKTYPE a_BlockType ) = 0;
|
||||
virtual bool IsStationaryBlock( BLOCKTYPE a_BlockType);
|
||||
virtual bool IsPassableForFluid( BLOCKTYPE a_BlockType );
|
||||
bool CanWashAway( BLOCKTYPE a_BlockType );
|
||||
bool IsSolidBlock(BLOCKTYPE a_BlockType);
|
||||
protected:
|
||||
virtual void AddBlock( int a_X, int a_Y, int a_Z);
|
||||
char GetHighestLevelAround( int a_X, int a_Y, int a_Z );
|
||||
|
||||
Reference in New Issue
Block a user