LI2 Roguelite
Public Attributes | List of all members
projectile Struct Reference

(private) Structure of a thrown projectile More...

Public Attributes

int x
 
int y
 
int direction
 
int turns_left
 
int effect
 
int damage
 
char symbol
 
int color
 

Detailed Description

(private) Structure of a thrown projectile

Parameters
xThe current x coordinate of the projectile
yThe current y coordinate of the projectile
directionThe ongoing direction of the projectile
turns_leftThe number of turns left for the projectile to disappear/have an effect
effectThe effect of the projectile
damageThe damage of the projectile
colorThe color of the projectile

Member Data Documentation

◆ color

int projectile::color

◆ damage

int projectile::damage

◆ direction

int projectile::direction

◆ effect

int projectile::effect

◆ symbol

char projectile::symbol

◆ turns_left

int projectile::turns_left

◆ x

int projectile::x

◆ y

int projectile::y

The documentation for this struct was generated from the following file: