Source code for bot_api.events.bullet_hit_wall_event

from dataclasses import dataclass

from ..bullet_state import BulletState
from .bot_event import BotEvent


[docs] @dataclass(frozen=True, repr=True) class BulletHitWallEvent(BotEvent): """ Represents an event that occurs when a bullet hits a wall during a game. This event provides information about which bullet hit the wall and at what turn the event occurred. Attributes: bullet (BulletState): The bullet that hit the wall. """ bullet: BulletState