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