GameObj - HermesPasser/Ramu GitHub Wiki

class GameObj

Description

Base class for all game classes.

Constructor Parameters

  • int x: Position in x. (optional, default is 0)
  • int y: Position in y. (optional, default is 0)
  • int w: Width. (optional, default is 0)
  • int h: Height. (optional, default is 0)
let gameobj = new GameObj(10, 10, 100, 100);

Properties

Public Methods