Class Miss

java.lang.Object
greenfoot.Actor
student.micro.Actor
student.micro.battleship.Miss

public class Miss extends student.micro.Actor
Represents a white "miss" peg in the game "Battleship", so it can be shown on the screen.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Create a new Miss peg.
  • Method Summary

    Methods inherited from class student.micro.Actor

    addToWorld, getIntersectingObjects, getNeighbors, getNeighbours, getObjectsAtOffset, getObjectsInRange, getOneIntersectingObject, getOneNeighbor, getOneNeighbour, getOneObjectAtOffset, getOneObjectInRange, remove, turnTowards

    Methods inherited from class greenfoot.Actor

    act, getImage, getRotation, getWorld, getWorldOfType, getX, getY, isAtEdge, move, setImage, setImage, setLocation, setRotation, turn, turnTowards

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Miss

      public Miss()
      Create a new Miss peg.