Projectile¶
- class Projectile(game: Game, owner: EntityID, target: EntityID, projectile_data: Dict[str, Union[Image, int]], damage: int, damage_type: DamageType, penetration: int, is_crit: bool)[source]¶
Bases:
object
- __init__(game: Game, owner: EntityID, target: EntityID, projectile_data: Dict[str, Union[Image, int]], damage: int, damage_type: DamageType, penetration: int, is_crit: bool)[source]¶
- draw(surf, offset: pygame.math.Vector2)[source]¶