maxdee_alc_freeliner/freeliner_sketch/Mode.pde
/**
 * ##copyright##
 * See LICENSE.md
 *
 * @author    Maxime Damecour (http://nnvtn.ca)
 * @version   0.4
 * @since     2014-12-01
 */



/**
 * Mode is a abstract class for colorModes, renderModes...
 * Added to facilitate auto documentation.
 *
 */

abstract class Mode {
  int modeIndex;
  String name = "mode";
  String description = "abstract";
  char relatedKey = '_';

  public Mode(){
  }


  public void setName(String _name){
    name = _name;
  }

  public void setDescrition(String _d){
    description = _d;
  }

  public void setRelateKey(char _k){
    relatedKey = _k;
  }

  public int getIndex(){
    return modeIndex;
  }

  public String getName(){
    return name;
  }

  public String getDescription(){
    return description;
  }

  public char getRelatedKey(){
    return relatedKey;
  }
}
//
// class ModeSelector {
//   char thekey;
// }
