java.lang.Object
com.badlogic.gdx.scenes.scene2d.Actor
com.csse3200.game.components.mainmenu.Bird

public class Bird extends com.badlogic.gdx.scenes.scene2d.Actor
  • Constructor Summary

    Constructors
    Constructor
    Description
    Bird(int x, int y)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    com.badlogic.gdx.math.Rectangle
     
    com.badlogic.gdx.math.Vector3
     
    com.badlogic.gdx.graphics.g2d.TextureRegion
     
    void
    update(float dt)
     

    Methods inherited from class com.badlogic.gdx.scenes.scene2d.Actor

    act, addAction, addCaptureListener, addListener, ancestorsVisible, ascendantsVisible, clear, clearActions, clearListeners, clipBegin, clipBegin, clipEnd, debug, draw, drawDebug, drawDebugBounds, fire, firstAscendant, getActions, getCaptureListeners, getColor, getDebug, getHeight, getListeners, getName, getOriginX, getOriginY, getParent, getRight, getRotation, getScaleX, getScaleY, getStage, getTop, getTouchable, getUserObject, getWidth, getX, getX, getY, getY, getZIndex, hasActions, hasKeyboardFocus, hasParent, hasScrollFocus, hit, isAscendantOf, isDescendantOf, isTouchable, isTouchFocusListener, isTouchFocusTarget, isVisible, localToActorCoordinates, localToAscendantCoordinates, localToParentCoordinates, localToScreenCoordinates, localToStageCoordinates, moveBy, notify, parentToLocalCoordinates, positionChanged, remove, removeAction, removeCaptureListener, removeListener, rotateBy, rotationChanged, scaleBy, scaleBy, scaleChanged, screenToLocalCoordinates, setBounds, setColor, setColor, setDebug, setHeight, setName, setOrigin, setOrigin, setOriginX, setOriginY, setParent, setPosition, setPosition, setRotation, setScale, setScale, setScaleX, setScaleY, setSize, setStage, setTouchable, setUserObject, setVisible, setWidth, setX, setX, setY, setY, setZIndex, sizeBy, sizeBy, sizeChanged, stageToLocalCoordinates, toBack, toFront, toString

    Methods inherited from class java.lang.Object

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

    • Bird

      public Bird(int x, int y)
  • Method Details

    • update

      public void update(float dt)
    • getPosition

      public com.badlogic.gdx.math.Vector3 getPosition()
    • getTexture

      public com.badlogic.gdx.graphics.g2d.TextureRegion getTexture()
    • getBounds

      public com.badlogic.gdx.math.Rectangle getBounds()
    • dispose

      public void dispose()