yyagl.racing.weapon.rocket package

Submodules

yyagl.racing.weapon.rocket.ai module

class yyagl.racing.weapon.rocket.ai.RocketAi(mdt, car)

Bases: yyagl.racing.weapon.weapon.ai.WeaponAi

update()

yyagl.racing.weapon.rocket.event module

class yyagl.racing.weapon.rocket.event.RocketEvent(mdt, particle_path)

Bases: yyagl.racing.weapon.weapon.event.RocketWeaponEvent

wpn_name = 'Rocket'

yyagl.racing.weapon.rocket.logic module

class yyagl.racing.weapon.rocket.logic.RocketLogic(mdt, car, cars)

Bases: yyagl.racing.weapon.weapon.logic.WeaponLogic

destroy()
fire(sfx)

yyagl.racing.weapon.rocket.phys module

class yyagl.racing.weapon.rocket.phys.RocketPhys(mdt, car, cars)

Bases: yyagl.racing.weapon.weapon.phys.RocketWeaponPhys

coll_mesh_cls

alias of BulletSphereShape

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

yyagl.racing.weapon.rocket.rocket module

class yyagl.racing.weapon.rocket.rocket.Rocket(car, path, cars, part_path)

Bases: yyagl.racing.weapon.weapon.weapon.PhysWeapon

ai_cls

alias of RocketAi

audio_cls

alias of RocketAudio

deg = 180
event_cls

alias of RocketEvent

logic_cls

alias of RocketLogic

phys_cls

alias of RocketPhys

class yyagl.racing.weapon.rocket.rocket.RocketAudio(mdt)

Bases: yyagl.racing.weapon.weapon.audio.WeaponAudio

sfx = 'assets/sfx/fire.ogg'

Module contents

Table Of Contents

Previous topic

yyagl.racing.weapon.rear_rocket package

Next topic

yyagl.racing.weapon.rotate_all package

This Page

Please, support us!




Flattr this