Skip to content

Commit

Permalink
Spring cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
sz-piotr committed Apr 27, 2019
1 parent eaf77df commit 3725de4
Show file tree
Hide file tree
Showing 29 changed files with 3,762 additions and 6,868 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
node_modules/
coverage/
lib/
dist/
19 changes: 0 additions & 19 deletions LICENSE

This file was deleted.

10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<p align="center">
<a href="https://github.com/sz-piotr/rook-ecs">
<img alt="logo" src="https://raw.githubusercontent.com/sz-piotr/rook-ecs/master/logo.png">
</a>
</p>

# Rook
Expand Down Expand Up @@ -39,7 +37,7 @@ console.log('Hurray!')

Alternatively, you might want to use an UMD build in the browser.
To do so, grab the minified JavaScript file from
[here](https://raw.githubusercontent.com/sz-piotr/rook-ecs/master/lib/rook-ecs.min.js)
[here](https://unpkg.com/rook-ecs/lib/rook-ecs.min.js)
and add it to your site with a script tag.

In the browser all of the exports are available under the `Rook` global object.
Expand All @@ -62,15 +60,15 @@ class Position {
constructor (
public x: number,
public y: number
)
) {}
}

class Velocity {
static id = 'Velocity'
constructor (
public x: number,
public y: number
)
) {}
}
```

Expand All @@ -81,6 +79,7 @@ import { hasAll } from 'rook-ecs'

const applyVelocity = {
query: hasAll(Position, Velocity),
on: 'tick',
processEntity (entity, world, { timeDelta }) {
const position = entity.get(Position)
const velocity = entity.get(Velocity)
Expand Down Expand Up @@ -121,6 +120,5 @@ Rook is currently a work in progress. All contributions are welcome.

## Useful reading

* [Rook Documentation](https://sz-piotr.github.io/rook-ecs)
* [TypeScript Documentation](https://www.typescriptlang.org/docs/home.html)
* [T-Machine ECS Series](http://t-machine.org/index.php/2007/09/03/entity-systems-are-the-future-of-mmog-development-part-1/)
24 changes: 24 additions & 0 deletions UNLICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.

In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of
relinquishment in perpetuity of all present and future rights to this
software under copyright law.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

For more information, please refer to <http://unlicense.org/>
220 changes: 0 additions & 220 deletions deploy-docs.sh

This file was deleted.

5 changes: 0 additions & 5 deletions index.ts

This file was deleted.

7 changes: 0 additions & 7 deletions math/package.json

This file was deleted.

Loading

0 comments on commit 3725de4

Please sign in to comment.