MCPcopy Create free account
hub / github.com/EngoEngine/engo / Update

Method Update

engo_test.go:199–204  ·  view source on GitHub ↗
(float32)

Source from the content-addressed store, hash-verified

197func (*testUpdate) Remove(ecs.BasicEntity) {}
198
199func (t *testUpdate) Update(float32) {
200 t.current++
201 if t.current >= t.updates {
202 Exit()
203 }
204}
205
206// This test tests running headless but also letting it go into the runloop
207func TestRunHeadless(t *testing.T) {

Callers

nothing calls this directly

Calls 1

ExitFunction · 0.85

Tested by

no test coverage detected