Beispiel #1
0
        private void CreateReserveSlot(Vector2 pos)
        {
            var reserveSlot = _contexts.game.CreateEntity();

            reserveSlot.isReserveSlot = true;
            reserveSlot.AddPosition(pos);
            reserveSlot.AddId(IdService.GetNewId());

            PieceCreationService.CreateReservePiece(reserveSlot);
        }