roomy-types
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

Roomy Types

Contains declarations for roomy. A scene management library for LÖVE.

import * as roomy from "roomy";

class MyScene implements roomy.Love2DScene {
  keypressed() {
    console.log("key was pressed");
  }
}

const manager = roomy.new();
manager.enter(new MyScene());

love.load = () => {
  manager.hook();
};

Install

yarn add -D roomy-types
# or npm install -D roomy-types

/roomy-types/

    Package Sidebar

    Install

    npm i roomy-types

    Weekly Downloads

    1

    Version

    0.0.1

    License

    MIT

    Unpacked Size

    3.99 kB

    Total Files

    3

    Last publish

    Collaborators

    • hazzard993