Class SymAnimate

Inheritance Relationships

Base Type

  • public Animate

Class Documentation

class SymAnimate : public Animate

Public Functions

SymAnimate()

The contructor for SymAnimate

void initializeWorld()

Input: None

Output: None

Purpose: To initialize the world based upon the config setting given

void setButtonStyle(std::string but_id)

Input: The string representing the button identification.

Output: None

Purpose: To add style to the buttons displayed.

void drawPetriDish(UI::Canvas &can)

Input: The canvas being used.

Output: None

Purpose: To draw the petri dish of basteria and phage.

std::string matchColor(double intVal)

Input: The double representing symbiont or host’s interaction value

Output: The string representing the hex value for the color of the organism.

Purpose: To determine the color that an organism should be, given its interaction value.

void DoFrame()

Input: None

Output: None

Purpose: To update the frame displayed of the current world state.