UNPKG

seed-engine

Version:

A Lightweight 2D game engine using WebGL2. The engine is designed on the focus of creating a bridge between creating and publishing games to the Seed Network as modules.

14 lines (13 loc) 452 B
import Component from './Component'; import KeyCode from '../const/KeyCode'; import InputManager from '../manager/InputManager'; /** * A Baseclass for controller components. It is advised to use * controllers to contain movement logic. There are basic movement and * onClick controllers. You may make your own, remember to derive this class. */ export default class Controller extends Component { constructor() { super(false); } }