Example #1
0
        protected override void Update()
        {
            if (!time.Leaping)
            {
                return;
            }
            var entity = box.Create();

            entity.Get <AnimationComponent>().StartTime = time.Cycle;
        }
Example #2
0
 public OpenCommand(Context context)
 {
     this.context = context;
     this.Box     = BoxFactory.Create();
 }