Documentation
¶
Index ¶
- type World
- func (w *World) Add(body *body.Body)
- func (w *World) Bodys() map[int64]*body.Body
- func (w *World) Contacts() []*contact.Contact
- func (w *World) ReservedDelete(id int64)
- func (w *World) SetBodyPosition(id int64, pos vector.Vector)
- func (w *World) SetGravity(gravity vector.Vector)
- func (w *World) Tick(delta float64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type World ¶
type World struct {
// contains filtered or unexported fields
}
func (*World) ReservedDelete ¶
func (*World) SetGravity ¶
Click to show internal directories.
Click to hide internal directories.