yracing.weapon.mine package

Submodules

yracing.weapon.mine.ai module

class yracing.weapon.mine.ai.MineAi(mediator, car)[source]

Bases: yracing.weapon.weapon.ai.WeaponAi

update()[source]

yracing.weapon.mine.event module

class yracing.weapon.mine.event.MineEvent(mediator, particle_path)[source]

Bases: yracing.weapon.weapon.event.WeaponEvent

on_collision(obj, tgt_obj)[source]

yracing.weapon.mine.logic module

class yracing.weapon.mine.logic.MineLogic(mediator, car, cars, wpn_id)[source]

Bases: yracing.weapon.weapon.logic.WeaponLogic

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

Bases: yracing.weapon.weapon.logic.WeaponLogicNetwork, yracing.weapon.mine.logic.MineLogic

yracing.weapon.mine.mine module

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

Bases: yracing.weapon.weapon.weapon.PhysWeapon

ai_cls

alias of yracing.weapon.mine.ai.MineAi

audio_cls

alias of MineAudio

event_cls

alias of yracing.weapon.mine.event.MineEvent

logic_cls

alias of yracing.weapon.mine.logic.MineLogic

phys_cls

alias of yracing.weapon.mine.phys.MinePhys

class yracing.weapon.mine.mine.MineAudio(mediator)[source]

Bases: yracing.weapon.weapon.audio.WeaponAudio

sfx = 'assets/sfx/mine.ogg'
class yracing.weapon.mine.mine.MineGfxNetwork(mediator, car, cars)[source]

Bases: yracing.weapon.weapon.gfx.WeaponGfxNetwork

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

Bases: yracing.weapon.mine.mine.Mine

gfx_cls

alias of MineGfxNetwork

logic_cls

alias of yracing.weapon.mine.logic.MineLogicNetwork

yracing.weapon.mine.phys module

class yracing.weapon.mine.phys.MinePhys(mediator, car, cars, players)[source]

Bases: yracing.weapon.weapon.phys.WeaponPhys

cnt = 0
coll_mesh_cls

alias of panda3d.bullet.BulletBoxShape

gfx_dz = -0.45
joint_z = 0.5
launch_dist = -2.5

Module contents