Skip to content

Commit

Permalink
Fix wording, and title on readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Gamerfiend committed Apr 15, 2019
1 parent e718409 commit dce2ccd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
kit-ecs
======
### Kit implementation of Entity/Component/System paradigm
------
#### Kit implementation of Entity/Component/System paradigm

Quick Start Guide
------

Expand Down Expand Up @@ -91,7 +91,7 @@ implement System for MovementSystem{
```
`Trait System` requires `struct` to define two methods, `update(delta: Float, engine: Ptr[Engine])` and `typeIdentifier()`, the later returns a unique `CString` identifer for this system. The former method is called each iteration of the engine update method, and is passed the delta time and a pointer to the `Engine` itself for querying.

You would then add the system itself to the engine.
You would then add the `system` itself to the `engine`.
```c
var movementSystem = struct MovementSystem{
entityIsMoving: false
Expand All @@ -104,4 +104,4 @@ Inside your game loop, you would then call:
```c
engine.update(GetDeltaTime());
```
The engine will then call update on every system it has.
The `engine` will then call update on every `system` it has.

0 comments on commit dce2ccd

Please sign in to comment.