red2fred2_processing-games/Anything.pde
/*
The Anything interface is implemented by everything
that is a physical object or is drawn or exerts a force.
*/
public abstract interface Anything {
  //getters and setters
  
  public PVector getPosition();
  public Hitbox getHitbox();
  public float getHitRadius();
  public int getAngle();
  public int getIndex();
  public void setIndex(int index);
  
  //////////////////////////////////////////////////
  //every loop in the main
  
  public void draw();
  public void update(float time);
  public boolean doCollisions(Anything thing);
  
}
