Drawable - HermesPasser/Ramu GitHub Wiki

class Drawable : GameObj

Description

Class responsible for drawing routines.

Constructor Parameters

  • int x: Position in x.
  • int y: Position in y.
  • int width: Width.
  • int height: Height.
  • bool canDraw: Whether it will be drawn or not. (optional, default is false)
let drw = new Drawable(10, 10, 100, 100, true);

Properties

Public Methods

Inherited Members