|
SpaceNLasers
|


Public Member Functions | |
| def | __init__ (self, code, shotCode) |
| def | SetCurrentState (self, stateCode) |
| parse state from bus More... | |
| def | Update (self, dt) |
| virtual weapon logic (cooloff etc.) More... | |
| def | ShootsThisFrame (self) |
| Return whether shot is fired this round. More... | |
Public Attributes | |
| code | |
| shotCode | |
| player | |
| cooloff | |
| heat | |
| primaryWasReleased | |
| primaryPressed | |
| def lib.Weapon.Weapon.__init__ | ( | self, | |
| code, | |||
| shotCode | |||
| ) |
| def lib.Weapon.Weapon.SetCurrentState | ( | self, | |
| stateCode | |||
| ) |
parse state from bus
| def lib.Weapon.Weapon.ShootsThisFrame | ( | self | ) |
Return whether shot is fired this round.
| def lib.Weapon.Weapon.Update | ( | self, | |
| dt | |||
| ) |
virtual weapon logic (cooloff etc.)
| lib.Weapon.Weapon.code |
| lib.Weapon.Weapon.cooloff |
| lib.Weapon.Weapon.heat |
| lib.Weapon.Weapon.player |
| lib.Weapon.Weapon.primaryPressed |
| lib.Weapon.Weapon.primaryWasReleased |
| lib.Weapon.Weapon.shotCode |
1.8.9.1