Operation Null Mind 0.4.1
A 2D roguelike top down shooter game made with SDL2
 
Loading...
Searching...
No Matches
interactable_start.c File Reference
#include <interactable.h>
#include <app.h>

Functions

void Interactable_Start ()
 

Variables

Interactable interactables [MAX_INTERACTABLES]
 
SDL_Texture * interactabletextures [INTERACTABLE_COUNT]
 
UIElement * interactionText
 
flag hasInteraction
 
HealthData healthData [3]
 
AbilityData abilityData [8]
 

Function Documentation

◆ Interactable_Start()

void Interactable_Start ( )

Variable Documentation

◆ abilityData

AbilityData abilityData[8]

◆ hasInteraction

flag hasInteraction

◆ healthData

HealthData healthData[3]
Initial value:
= {
[0] = {50, "Medi-Stim (+50 HP)"},
[1] = {100, "Biofoam Spray (+100 HP)"},
[2] = {200, "Nano-Gel (+200 HP)"}
}

◆ interactables

◆ interactabletextures

SDL_Texture* interactabletextures[INTERACTABLE_COUNT]

◆ interactionText

UIElement* interactionText