Added weapon system. Animated laser.
This commit is contained in:
9
weapons/weapon.go
Normal file
9
weapons/weapon.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package weapons
|
||||
|
||||
import "mover/gamedata"
|
||||
|
||||
type Weapon interface {
|
||||
IsActive() bool
|
||||
SetActivity(bool)
|
||||
GetWeaponType() gamedata.WeaponType
|
||||
}
|
||||
Reference in New Issue
Block a user