Skip to content
Tyler Wozniak edited this page Feb 25, 2014 · 4 revisions

(Name Pending)

Concept

A Unit contains this basic data for a character in the game. This should be incredibly lightweight and primarily data-based: in other words, this shouldn't be a class with many functions, as the Controller will be in charge of handling that.

Features:

  • HP
  • Attack
  • Defense?
  • Type?
  • Effects[]? Some storage of effects to consider when interacting with other units, ex: Burn, Regen, Increased Defense, etc
  • Reference to Ability N (where N => # of Abilities)
  • Cooldown for Ability N (where N => # of Abilities)
Clone this wiki locally