class MyLife { constructor() { this.startKicking(); } startKicking() { while (lifeStillKicking) { this.sleep(Timespan.FromHours(8.0)); this.Work(); this.GoHomeEnjoyLife(); } } GoHomeEnjoyLife() { videoGames.interact(MyLife); Mobile.interact(MyLife); } }
©