Enum SpaceshipAttackController.AttackType

java.lang.Object
java.lang.Enum<SpaceshipAttackController.AttackType>
com.deco2800.game.components.npc.SpaceshipAttackController.AttackType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SpaceshipAttackController.AttackType>, java.lang.constant.Constable
Enclosing class:
SpaceshipAttackController

public static enum SpaceshipAttackController.AttackType
extends java.lang.Enum<SpaceshipAttackController.AttackType>
Spaceship attack type
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
  • Enum Constant Summary

    Enum Constants 
    Enum Constant Description
    HIGH  
    LOW  
    MIDDLE  
    PLAYER  
  • Method Summary

    Modifier and Type Method Description
    static SpaceshipAttackController.AttackType randomType()  
    static SpaceshipAttackController.AttackType valueOf​(java.lang.String name)
    Returns the enum constant of this type with the specified name.
    static SpaceshipAttackController.AttackType[] values()
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait