Documentation
¶
Overview ¶
Package components はコアエンジンコンポーネントの定義を提供する。
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComponentInitializer ¶
ComponentInitializer はコンポーネントの初期化を行うインターフェース
type Components ¶
type Components[T ComponentInitializer] struct { Game T }
Components はジェネリクス型を使用した型安全な実装
func InitComponents ¶
func InitComponents[T ComponentInitializer](world *ecs.World, gameComponents T) (*Components[T], error)
InitComponents はジェネリクス型を使用した型安全な実装
Click to show internal directories.
Click to hide internal directories.