Documentation ¶
Index ¶
- type Item
- type State
- func (s State) All() []bool
- func (s State) I1() bool
- func (s State) I2() bool
- func (s State) I3() bool
- func (s State) I4() bool
- func (s State) I5() bool
- func (s State) I6() bool
- func (s State) I7() bool
- func (s State) I8() bool
- func (s State) StatusOf(i Item) bool
- func (s State) WithI1(status bool) State
- func (s State) WithI2(status bool) State
- func (s State) WithI3(status bool) State
- func (s State) WithI4(status bool) State
- func (s State) WithI5(status bool) State
- func (s State) WithI6(status bool) State
- func (s State) WithI7(status bool) State
- func (s State) WithI8(status bool) State
- func (s State) WithStatusOf(i Item, status bool) State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type State ¶
type State uint8
State represents the state of the rocket. Each bit of State represent a status (on/off).
Click to show internal directories.
Click to hide internal directories.