Uses of Class
com.starpoints.game.ShieldType
-
Packages that use ShieldType Package Description com.starpoints.animation Contains classes for game state changes that are collected during one game update cycle.com.starpoints.game Contains the classes for the StarpointArena game.com.starpoints.painter Contains 2D painters.com.starpoints.state Contains state classes for UI updates, replay and best move storage. -
-
Uses of ShieldType in com.starpoints.animation
Fields in com.starpoints.animation with type parameters of type ShieldType Modifier and Type Field Description protected java.util.HashMap<ShieldType,FigureShieldedAnimation>
FigureAnimation. shieldAnimations
Shield animations.Methods in com.starpoints.animation that return ShieldType Modifier and Type Method Description ShieldType
FigureShieldedAnimation. getType()
Gets the shield type.Methods in com.starpoints.animation with parameters of type ShieldType Modifier and Type Method Description FigureAnimation
AnimationInfo. addFigureShieldAnimation(Figure f, ShieldType type, int power)
Adds a shield animation for the figure.void
FigureAnimation. addShieldAnimation(ShieldType type, int power)
Adds a shield animation.int
FigureAnimation. getShieldPower(ShieldType type)
Gets the shield power for the given type.boolean
FigureAnimation. isShielded(ShieldType type)
Checks, if shield animation for ShieldType exists.Constructors in com.starpoints.animation with parameters of type ShieldType Constructor Description FigureShieldedAnimation(ShieldType type, int power)
Creates a FigureShieldedAnimation. -
Uses of ShieldType in com.starpoints.game
Methods in com.starpoints.game that return ShieldType Modifier and Type Method Description static ShieldType
ShieldType. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ShieldType[]
ShieldType. values()
Returns an array containing the constants of this enum type, in the order they are declared. -
Uses of ShieldType in com.starpoints.painter
Methods in com.starpoints.painter with parameters of type ShieldType Modifier and Type Method Description static void
Explosions. paintShielding(Graphics g, int xCenter, int yCenter, int power, ShieldType type)
Draws an unscaled shieldingimage at the given graphic coordinates.static void
Explosions. paintShielding(Graphics g, int xCenter, int yCenter, int power, ShieldType type, double factor)
Draws a scaled shielding image at the given graphic coordinates. -
Uses of ShieldType in com.starpoints.state
Methods in com.starpoints.state that return ShieldType Modifier and Type Method Description ShieldType
FigureShielding. getType()
Constructors in com.starpoints.state with parameters of type ShieldType Constructor Description FigureShielding(ShieldType type, int power)
-