weapon system rework
This commit is contained in:
parent
0ffc2b2497
commit
30b01100f0
27 changed files with 352 additions and 190 deletions
17
scripts/weapon_system/weapon_state.gd
Normal file
17
scripts/weapon_system/weapon_state.gd
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
@abstract
|
||||
extends State
|
||||
|
||||
class_name WeaponState
|
||||
|
||||
var machine: WeaponSubStateMachine
|
||||
|
||||
func use_begin() -> void:
|
||||
pass
|
||||
func use_end() -> void:
|
||||
pass
|
||||
func alternate_state() -> void:
|
||||
pass
|
||||
# Need to clarify naming; Switch mode like firemode. For different states use
|
||||
# alternate_state
|
||||
func switch_mode() -> void:
|
||||
pass
|
||||
Loading…
Add table
Add a link
Reference in a new issue