MCPcopy
hub / github.com/EngoEngine/engo / set

Method set

keys.go:75–78  ·  view source on GitHub ↗
(state bool)

Source from the content-addressed store, hash-verified

73}
74
75func (key *KeyState) set(state bool) {
76 key.lastState = key.currentState
77 key.currentState = state
78}
79
80// State returns the raw state of a key.
81func (key *KeyState) State() int {

Callers 4

updateImplMethod · 0.45
SetMethod · 0.45
updateMethod · 0.45
updateImplMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected