21 lines
364 B
Go
21 lines
364 B
Go
package simulation
|
|
|
|
import (
|
|
"joylink.club/rtsssimulation/system"
|
|
"time"
|
|
|
|
"joylink.club/ecs"
|
|
)
|
|
|
|
// WorldConfig 仿真world配置
|
|
type WorldConfig struct {
|
|
//模型管理器,接收模型仓库管理器实例的指针
|
|
ModelManager system.IModelManager
|
|
//world 系统
|
|
Systems []ecs.ISystem
|
|
//world tick
|
|
Tick int
|
|
//world 起始时间
|
|
InitTime time.Time
|
|
}
|