Source code for yracing.weapon.mine.mine

from ..weapon.weapon import PhysWeapon, WeaponAudio
from ..weapon.gfx import WeaponGfxNetwork
from .phys import MinePhys
from .logic import MineLogic, MineLogicNetwork
from .event import MineEvent
from .ai import MineAi


[docs]class MineGfxNetwork(WeaponGfxNetwork): pass
[docs]class MineAudio(WeaponAudio): sfx = 'assets/sfx/mine.ogg'
[docs]class Mine(PhysWeapon): phys_cls = MinePhys logic_cls = MineLogic event_cls = MineEvent audio_cls = MineAudio ai_cls = MineAi
[docs]class MineNetwork(Mine): logic_cls = MineLogicNetwork gfx_cls = MineGfxNetwork