Example #1
0
        public override void _Process(float delta)
        {
            var cr = CardRepository.GetInstance();

            if (Input.IsActionJustPressed("add_card"))
            {
                hand.AddChild(cr.GetByName("The Mailman"));
            }
        }