Documentation ¶
Overview ¶
postioned object managment in 2d space
Index ¶
- func New(x, y int) idposi.IDPosManI
- type Manager
- func (fo *Manager) Add(o idposi.IDPosI) bool
- func (fo *Manager) All() idposi.IDPosIList
- func (fo *Manager) Count() int
- func (fo *Manager) Del(o idposi.IDPosI) bool
- func (fo *Manager) GetByID(id idgen.IDInt) idposi.IDPosI
- func (fo *Manager) IterAt(pos [2]int, fn idposi.DoFn) bool
- func (fo *Manager) IterAtXY(x, y int, fn idposi.DoFn) bool
- func (fo *Manager) PosXYObjs(x, y int) idposi.IDPosIList
- func (fo *Manager) Set(o idposi.IDPosI) bool
- func (fo *Manager) UpdateToPos(o idposi.IDPosI, newpos [2]int) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.