mirror of
https://github.com/mvvasilev/last_light.git
synced 2025-04-19 20:59:51 +03:00
16 lines
328 B
Go
16 lines
328 B
Go
package component
|
|
|
|
import (
|
|
"mvvasilev/last_light/engine/ecs"
|
|
"mvvasilev/last_light/game/state"
|
|
)
|
|
|
|
const ComponentType_GameStateComponent = ecs.ComponentType_2
|
|
|
|
type GameStateComponent struct {
|
|
GameState *state.GameState
|
|
}
|
|
|
|
func (gsc *GameStateComponent) Type() ecs.ComponentType {
|
|
return ComponentType_GameStateComponent
|
|
}
|