npm

@al-engine/game_object
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

Al engine

Scale

This is module with base class of Game Object for Al engine.

You need to extend your class from GameObject and add realisation of needed methods:

  needUpdate
  init
  tick
  update
  render
  draw

Also you can use fields:

  position
  size
  speed
  children
  parent
  sprite

Readme

Keywords

none

Package Sidebar

Install

npm i @al-engine/game_object

Weekly Downloads

1

Version

0.2.0

License

MIT

Unpacked Size

46.2 kB

Total Files

12

Last publish

Collaborators

  • sasha-z