diff --git a/README.md b/README.md index 0e0ba35..d4e671a 100644 --- a/README.md +++ b/README.md @@ -17,14 +17,14 @@ An [example game](https://rocketnine.itch.io/gohan-twinstick?secret=gohan) is in Please share issues and suggestions [here](https://code.rocketnine.space/tslocum/gohan/issues). -## List of games powered by Gohan +## Games powered by Gohan - **Fish Fight Back** - - [Play game](https://rocketnine.itch.io/fishfightback) - - [View source code](https://code.rocketnine.space/tslocum/fishfightback) + - [Play](https://rocketnine.itch.io/fishfightback) + - [Source code](https://code.rocketnine.space/tslocum/fishfightback) - **Brown Box Bat Man** - - [Play game](https://rocketnine.itch.io/brownboxbatman) - - [View source code](https://code.rocketnine.space/tslocum/brownboxbatman) + - [Play](https://rocketnine.itch.io/brownboxbatman) + - [Source code](https://code.rocketnine.space/tslocum/brownboxbatman) - **Monovania** - - [Play game](https://rocketnine.itch.io/monovania) - - [View source code](https://code.rocketnine.space/tslocum/monovania) + - [Play](https://rocketnine.itch.io/monovania) + - [Source code](https://code.rocketnine.space/tslocum/monovania) diff --git a/doc.go b/doc.go index deeab62..2fd4502 100644 --- a/doc.go +++ b/doc.go @@ -21,7 +21,7 @@ Each component is assigned a unique ID, starting with 1. System -Each system runs continuously, performing actions on every Entity that fits +Each system runs continuously, performing actions on every entity that fits each systems' set of required matching components. type ExampleSystem struct { @@ -44,7 +44,7 @@ within them, as all logic should be implemented within a system. System Design Guidelines Systems are located in a separate package, typically named system. They should -be private (start with a lowercase letter) and offer an instantiation function +be public (start with an uppercase letter) and offer an instantiation function named as follows: NewSystemNameHere(). Data should be stored within components attached to one or more entities, rather than within the systems themselves. References to components must not be maintained outside each Update and Draw