File Author Date Description import * as Sein from 'seinjs' ; import { loadSein , createSein , createDefaultCamera } from '../../utils' ; export default class MainScript extends Sein . LevelScriptActor { public onPreload ( ) { loadSein ( this . getGame ( ) ) ; } public onCreate ( ) { const game = this . getGame ( ) ; const world = this . getWorld ( ) ; createDefaultCamera ( game ) ; createSein ( game ) ; world . addActor ( 'light' , Sein . AmbientLightActor , { color : new Sein . Color ( 1 , 1 , 1 ) , amount : 1 } ) ; } }