Class Block

All Implemented Interfaces:
IEntity, RPObjectChangeListener

public class Block extends StatefulEntity
Client side representation of a pushable, solid block
Author:
madmetzger
  • Constructor Details

    • Block

      public Block()
  • Method Details

    • isObstacle

      public boolean isObstacle(IEntity entity)
      Description copied from interface: IEntity
      Determine if this is an obstacle for another entity.
      Specified by:
      isObstacle in interface IEntity
      Overrides:
      isObstacle in class Entity
      Parameters:
      entity - The entity to check against.
      Returns:
      true the entity can not enter this entity's area.