Class KillerBeeController
java.lang.Object
com.csse3200.game.components.Component
com.csse3200.game.components.Weapons.WeaponControllerComponent
com.csse3200.game.components.Weapons.SpecWeapon.ProjectileController
com.csse3200.game.components.Weapons.SpecWeapon.KillerBeeController
-
Field Summary
Fields inherited from class com.csse3200.game.components.Weapons.WeaponControllerComponent
attackNum, config, currentRotation, player, remainingDuration -
Constructor Summary
ConstructorsConstructorDescriptionKillerBeeController(WeaponConfig config, float attackDirection, Entity player, int attackNum) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidinitial_animation(AnimationRenderComponent animator) Set intial animationprotected voidSet initial rotation (defaults to attack direction)Methods inherited from class com.csse3200.game.components.Weapons.SpecWeapon.ProjectileController
create, initial_position, move, reanimate, rotateMethods inherited from class com.csse3200.game.components.Weapons.WeaponControllerComponent
add_animations, positionInDirection, updateMethods inherited from class com.csse3200.game.components.Component
dispose, earlyUpdate, getEntity, setEnabled, setEntity, toString, triggerEarlyUpdate, triggerUpdate
-
Constructor Details
-
KillerBeeController
public KillerBeeController(WeaponConfig config, float attackDirection, Entity player, int attackNum)
-
-
Method Details
-
initial_rotation
protected void initial_rotation()Description copied from class:WeaponControllerComponentSet initial rotation (defaults to attack direction)- Overrides:
initial_rotationin classProjectileController
-
initial_animation
Description copied from class:WeaponControllerComponentSet intial animation- Overrides:
initial_animationin classProjectileController- Parameters:
animator- - animation component for the entity
-