yracing.weapon.rocket package

Submodules

yracing.weapon.rocket.ai module

class yracing.weapon.rocket.ai.RocketAi(mediator, car)[source]

Bases: yracing.weapon.weapon.ai.WeaponAi

update()[source]

yracing.weapon.rocket.event module

class yracing.weapon.rocket.event.RocketEvent(mediator, particle_path)[source]

Bases: yracing.weapon.weapon.event.RocketWeaponEvent

wpn_name = 'Rocket'

yracing.weapon.rocket.logic module

class yracing.weapon.rocket.logic.RocketLogic(mediator, car, cars, wpn_id)[source]

Bases: yracing.weapon.weapon.logic.WeaponLogic

destroy()[source]
fire(sfx)[source]
class yracing.weapon.rocket.logic.RocketLogicNetwork(mediator, car, cars, wpn_id)[source]

Bases: yracing.weapon.weapon.logic.WeaponLogicNetwork, yracing.weapon.rocket.logic.RocketLogic

yracing.weapon.rocket.phys module

class yracing.weapon.rocket.phys.RocketPhys(mediator, car, cars, players)[source]

Bases: yracing.weapon.weapon.phys.RocketWeaponPhys

coll_mesh_cls

alias of panda3d.bullet.BulletSphereShape

gfx_dz = 0
joint_z = 0.8
launch_dist = 3.5
rocket_coll_name = 'Rocket'
rot_deg = 0

yracing.weapon.rocket.rocket module

class yracing.weapon.rocket.rocket.Rocket(car, path, cars, part_path, wpn_id, players)[source]

Bases: yracing.weapon.weapon.weapon.PhysWeapon

ai_cls

alias of yracing.weapon.rocket.ai.RocketAi

audio_cls

alias of RocketAudio

deg = 180
event_cls

alias of yracing.weapon.rocket.event.RocketEvent

logic_cls

alias of yracing.weapon.rocket.logic.RocketLogic

phys_cls

alias of yracing.weapon.rocket.phys.RocketPhys

class yracing.weapon.rocket.rocket.RocketAudio(mediator)[source]

Bases: yracing.weapon.weapon.audio.WeaponAudio

sfx = 'assets/sfx/fire.ogg'
class yracing.weapon.rocket.rocket.RocketGfxNetwork(mediator, car, cars)[source]

Bases: yracing.weapon.weapon.gfx.WeaponGfxNetwork

class yracing.weapon.rocket.rocket.RocketNetwork(car, path, cars, part_path, wpn_id, players)[source]

Bases: yracing.weapon.rocket.rocket.Rocket

gfx_cls

alias of RocketGfxNetwork

logic_cls

alias of yracing.weapon.rocket.logic.RocketLogicNetwork

Module contents