File size: 524 Bytes
2952f21 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
using Godot;
public partial class GameSceneManager : Node3D
{
[Export]
public AreaPositionRandomizer GoalManager { get; set; }
[Export]
public AreaPositionRandomizer ObstacleManager { get; set; }
[Export]
public Player Player { get; set; }
// Called when the node enters the scene tree for the first time.
public override void _Ready()
{
Reset();
}
public void Reset()
{
GoalManager.Reset();
ObstacleManager.Reset();
Player.Reset();
}
}
|