Class WalkBlocker

All Implemented Interfaces:
Killer, Cloneable, Iterable<String>, Serializable
Direct Known Subclasses:
FlyOverArea

public class WalkBlocker extends AreaEntity
An entity that just acts as an obstacle. This is a temporary workaround to allow items to be placed, but not players/entities, until multi-level collisions can be added.
  • Constructor Details

    • WalkBlocker

      public WalkBlocker()
      Create a walk blocker.
  • Method Details

    • generateRPClass

      public static void generateRPClass()
    • isObstacle

      public boolean isObstacle(Entity entity)
      Determine if this is an obstacle for another entity.
      Overrides:
      isObstacle in class Entity
      Parameters:
      entity - The entity to check against.
      Returns:
      true if the other entity is an RPEntity, otherwise the default.