oakmound / oak

A pure Go game engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Warn about the limited range of event.BindingOption.Priority

lolbinarycat opened this issue · comments

Using a value over 32 causes an index out of range error, this should be mentioned in the docs for it.

There are docs, but they are not exposed in the godoc, correct https://github.com/oakmound/oak/blob/master/event/bus.go#L30-L39

We should certainly move something similar out to an exposed comment.

This is addressed by 2c7c497