AssortiMens_Arcade-4-Player-Games/Arcade-4-Player-Pacman/PCM/Tile.pde
class Tile {
  boolean wall = false;
  boolean dot = false;
  boolean bigDot = false;
  boolean eaten = false;
  PVector pos;
//-------------------------------------------------------------------------------------------------------------------------------------------
  //constructor
  Tile(float x, float y) {
    pos = new PVector(x, y, null);
  }
//-----------------------------------------------------------------------------------------------------------------------------------------------
//draw a dot if there is one in this tile
  void show() {
    if (dot) {
      if (!eaten) {//draw dot
        fill(255, 255, 0);
        noStroke();
        ellipse(pos.x, pos.y, 3*PFScaleX, 3*PFScaleY);
      }
    } else if (bigDot) {
      if (!eaten) {//draw big dot
        fill(255, 255, 0);
        noStroke();
        ellipse(pos.x, pos.y, 6*PFScaleX, 6*PFScaleY);
      }
    }
  }
}
