Class Scoutdrohne

java.lang.Object
greenfoot.Actor
Gegner
Scoutdrohne

public class Scoutdrohne extends Gegner
Drohnen, die sich passiv naehern und nur bei Kollision gefaehrlich werden.
  • Field Summary

    Fields inherited from class Gegner

    dieCounter, geschwindigkeit, m, wurdeGetroffen
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

    Methods inherited from class Gegner

    act, addedToWorld, bombeAbwerfen

    Methods inherited from class greenfoot.Actor

    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

    • Scoutdrohne

      public Scoutdrohne()
  • Method Details

    • bewegen

      public void bewegen()
      Overrides:
      bewegen in class Gegner