Skip to content
Samuel Timbó edited this page May 7, 2015 · 2 revisions

#Introduction This page's purpose is to describe the function of each class in the client so every team member can understand each other's decisions. It also establishes a set of design patterns that can be used for future functionalities.

It is divided by scenes (Unity3d scenes).

#Scenes ##Login Scene

##Battle Scene ###BattleDirectorScene The director script of the Battle Scene. It sets up the battle simulation. It does the following tasks:

  1. Downloads all rats' simulation data;
  2. Sets up the rats objects in the scene;
  3. Configure CameraController script.

###CameraController The user will be able to change the game view through this class.

###RatSimulationDataUnit Unit of simulation data for the rat object: position, rotation, stats, etc.

###RatSimulationScript Rules all rat object's actions.

###TimerController Controlls the global simulation time and ticks.

##Lab Scene

##Main Menu Scene

Clone this wiki locally