src/Projectile.hh
changeset 305 56799ec8d7be
parent 296 4d3ebaa29430
child 308 60f4b55d5713
equal deleted inserted replaced
304:d0f60a97a85e 305:56799ec8d7be
    25     /**
    25     /**
    26      * Projectiles can be inivisble, e.g. for digging
    26      * Projectiles can be inivisble, e.g. for digging
    27      */
    27      */
    28     bool visible;
    28     bool visible;
    29     
    29     
    30     /**
    30     Weapon *weapon;
    31      * The projectile is diamond-shaped, and this is the dimanond's "radius"
       
    32      */
       
    33     float radius;
       
    34 
       
    35     /**
       
    36      * The radius of earth removed by this projectile on impact
       
    37      */
       
    38     float explosionRadius;
       
    39 
       
    40     /**
       
    41      * How many ticks this projectile lasts before being expiring
       
    42      */
       
    43     TickCount expire;
       
    44 
    31 
    45     /**
    32     /**
    46      * The tick we were spawned at
    33      * The tick we were spawned at
    47      */
    34      */
    48     TickCount birth_tick;
    35     TickCount birth_tick;