Struct & Methodes
struct Fighter { … } 1. Variables & Types 2. Fonctions (méthodes) int hp string name Attack() & PrintStatus() const hp = 30 atk = 8 Attack(goliath) Struct & Methodes · C++ · Raylib 🐸 Données · Méthodes membres