Class Item

java.lang.Object
greenfoot.Actor
Item
Direct Known Subclasses:
Basis, Batterie, Drohnenbombe, Fels, Holomarker, Krater, PeetieBruchstueck, Quarzmunition, Rakete, Schrott, Truemmerteil, Zirkonplatte

public class Item extends greenfoot.Actor
Elternklasse zur Verwaltung von Items, mit denen Peetie interagiert
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addedToWorld(greenfoot.World w)
     

    Methods inherited from class greenfoot.Actor

    act, getImage, getIntersectingObjects, getNeighbours, getObjectsAtOffset, getObjectsInRange, getOneIntersectingObject, getOneObjectAtOffset, getRotation, getWorld, getWorldOfType, getX, getY, intersects, isAtEdge, isTouching, move, removeTouching, setImage, setImage, setLocation, setRotation, sleepFor, turn, turnTowards

    Methods inherited from class java.lang.Object

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

    • Item

      public Item()
  • Method Details

    • addedToWorld

      public void addedToWorld(greenfoot.World w)
      Overrides:
      addedToWorld in class greenfoot.Actor