yracing.weapon.rear_rocket package

Submodules

yracing.weapon.rear_rocket.ai module

class yracing.weapon.rear_rocket.ai.RearRocketAi(mediator, car)[source]

Bases: yracing.weapon.weapon.ai.WeaponAi

update()[source]

yracing.weapon.rear_rocket.event module

class yracing.weapon.rear_rocket.event.RearRocketEvent(mediator, particle_path)[source]

Bases: yracing.weapon.weapon.event.RocketWeaponEvent

wpn_name = 'RearRocket'

yracing.weapon.rear_rocket.logic module

class yracing.weapon.rear_rocket.logic.RearRocketLogic(mediator, car, cars, wpn_id)[source]

Bases: yracing.weapon.weapon.logic.WeaponLogic

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

Bases: yracing.weapon.weapon.logic.WeaponLogicNetwork, yracing.weapon.rear_rocket.logic.RearRocketLogic

yracing.weapon.rear_rocket.phys module

class yracing.weapon.rear_rocket.phys.RearRocketPhys(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 = 'RearRocket'
rot_deg = 180

yracing.weapon.rear_rocket.rear_rocket module

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

Bases: yracing.weapon.weapon.weapon.PhysWeapon

ai_cls

alias of yracing.weapon.rear_rocket.ai.RearRocketAi

audio_cls

alias of RearRocketAudio

event_cls

alias of yracing.weapon.rear_rocket.event.RearRocketEvent

logic_cls

alias of yracing.weapon.rear_rocket.logic.RearRocketLogic

phys_cls

alias of yracing.weapon.rear_rocket.phys.RearRocketPhys

class yracing.weapon.rear_rocket.rear_rocket.RearRocketAudio(mediator)[source]

Bases: yracing.weapon.weapon.audio.WeaponAudio

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

Bases: yracing.weapon.weapon.gfx.WeaponGfxNetwork

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

Bases: yracing.weapon.rear_rocket.rear_rocket.RearRocket

gfx_cls

alias of RearRocketGfxNetwork

logic_cls

alias of yracing.weapon.rear_rocket.logic.RearRocketLogicNetwork

Module contents