@eix-js/core
the core of the eix game engine
Last updated 10 months ago by adrielus .
SEE LICENSE IN LICENSE · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @eix-js/core 
SYNC missed versions from official npm registry.

Build Status License Version Minzipped size size

Eix-core

the core of the eix game engine

Getting started

To get started, you need to have npm and node installed on your machine, and then install @eix/core and ts-node with:

npm i @eix/core ts-node

Create an index.ts file, and import the library:

import { Ecs } from '@eix/core'

Ecs is the main class exposed by this engine:

const ecs = new Ecs()

ecs.addEntity({
    prop: true
})

ecs
    .flag('prop')
    .get<{prop:boolean}>()
    .each({prop} => console.log(prop)) // true

Playing around with the source:

First, clone this repo:

git clone "https://github.com/eix-js/core"

Then install the dependencies:

npm install

You can use npm test to run all tests and npm run docs to generate docs.

Current Tags

  • 0.0.12                                ...           latest (10 months ago)

10 Versions

  • 0.0.12                                ...           10 months ago
  • 0.0.11                                ...           10 months ago
  • 0.0.10                                ...           10 months ago
  • 0.0.9                                ...           10 months ago
  • 0.0.7                                ...           a year ago
  • 0.0.6                                ...           a year ago
  • 1.0.5                                ...           a year ago
  • 1.0.4                                ...           a year ago
  • 1.0.2                                ...           a year ago
  • 1.0.1                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 10
Last Day 0
Last Week 10
Last Month 0
Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |