Game Development Reference
In-Depth Information
You can use this array to define different attributes for characters. In this case, an array
can be made for each character on the fly. Lots of
role-playing games
(
RPG
) do this.
Here is an example of such a table:
Character Hit Points Armor Weapon Magic Shield
Protagonist
100
50
10
5
3