Documentation
¶
Overview ¶
Package container implements different containers that may be needed for implementation of data oriented game design.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SparseArray ¶
type SparseArray[T any] struct { // contains filtered or unexported fields }
func (*SparseArray[T]) Delete ¶
func (sa *SparseArray[T]) Delete(id gid.ID)
func (*SparseArray[T]) Set ¶
func (sa *SparseArray[T]) Set(id gid.ID, val T)
Click to show internal directories.
Click to hide internal directories.