Definitions and Coding Conventions - Waug/MonsterCrasher GitHub Wiki

Definitions

Direction: This means the relative potential movements for a creature. Direction in code will always refer a single movement a creature is intending on taking Orientation: This means the objective cardinal directions. Orientation is primarily a reference in the facing direction of a creature. Notation: Each move is reduced to a couple letters. These letters are the notation and translate into a directional move for a creature. Notation is unlikely to be referenced outside of creature movement.

Coding Conventions

Materials will be named m_materialName Models and 3d assets will be named ass_assetname

Code will start curly braces on the starting line like so function() { //code here }