Grenade

The Greanade is capable of damaging all walls, doors, and players in a circle of radius 40 units. The maximum distance to throw the grenade is 75 units and deals 40 damage to objects it hits.

Instance Variables

Instance variables for grenade object

Name

Type

Description

hitbox

hitbox

Hitbox of where the grenade is on the game map

health

int

How much health the grenade has (grenade cannot be damaged)

fuse_time

int

The amount of turns it will take for the grenade to explode

damage

int

How much health will be deducted from damaged objects