Exemplo n.º 1
0
    void InitControls()
    {
        healthBox = Menu.Label("health");
        AddChild(healthBox);

        itemBox = Menu.Label("item");
        AddChild(itemBox);

        objectiveBox = Menu.Label("Objective Info");
        AddChild(objectiveBox);

        interactionBox = Menu.Label("");
        AddChild(interactionBox);
    }
Exemplo n.º 2
0
 // Called when the node enters the scene tree for the first time.
 public override void _Ready()
 {
     _CatCountLabel = GetNode <Godot.Label>("Control/CatCountLabel");
     _TimeLabel     = GetNode <Godot.Label>("Control/TimeLabel");
 }
Exemplo n.º 3
0
 public Label(Godot.Label control) : base(control)
 {
 }