Skip to content

Commit e35a5c8

Browse files
committed
amend user guide, fix docstring
1 parent 33079c9 commit e35a5c8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs/content/stats/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ Archetype -- Tables: 1, Comps: 2, Entities: 100, Cap: 1024, Mem: 32.
3434
Components: Position, Heading
3535
```
3636

37+
The level of detail for the stats can be configured using the optional arguments of {{< api ecs World.Stats >}}.
38+
3739
## World stats
3840

3941
{{< api "ecs/stats" World >}} provides world information like a list of all component types

ecs/stats/options.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package stats
22

3-
// Option flags type
3+
// Option flags type.
44
type Option uint8
55

66
const (

0 commit comments

Comments
 (0)