16 lines
296 B
C#
16 lines
296 B
C#
using Godot;
|
|
using Newlon.Components.Level;
|
|
|
|
|
|
namespace Newlon.Debug;
|
|
|
|
public partial class Cheats : Node
|
|
{
|
|
public override void _Input(InputEvent @event)
|
|
{
|
|
if (@event.IsActionPressed("cheat_add_sun"))
|
|
{
|
|
RuntimeLevelData.Instance.AddSun(50);
|
|
}
|
|
}
|
|
}
|