Class GummyGuard


@Deprecated public class GummyGuard extends EnemyEntity<GummyGuard>
Deprecated.
A basic enemy that moves back and forth. Is not used by the game, as we moved on to using jar files for enemies.
Author:
Abdul
  • Constructor Details

    • GummyGuard

      public GummyGuard(Maze.Point entityPos, Entity.Direction facingDir)
      Deprecated.
      Default constructor, sets the position, direction, and speed of the enemy.
      Parameters:
      entityPos - Point to set the position field to.
      facingDir - Direction to set the direction field to.
  • Method Details

    • ping

      public void ping()
      Deprecated.
      Description copied from class: Entity
      Non-player entities will act based on how often this is called.
      Specified by:
      ping in class Entity<GummyGuard>
    • unping

      public void unping()
      Deprecated.
      Description copied from class: Entity
      Undoes the effects of ping().
      Specified by:
      unping in class Entity<GummyGuard>
    • deleteEntity

      public void deleteEntity()
      Deprecated.
      Description copied from class: Entity
      Called when an entity is removed. This method is not abstract because not all entities will need special code to run on deletion.
      Overrides:
      deleteEntity in class Entity<GummyGuard>