diff options
| author | Joel Stålnacke <joel@saker.fi> | 2026-03-19 21:26:44 +0200 |
|---|---|---|
| committer | Joel Stålnacke <joel@saker.fi> | 2026-03-19 21:26:44 +0200 |
| commit | 3b60cd682120947119f442bb71ab2a5e98decccc (patch) | |
| tree | c168115bc480616656b8a8bf6e3da7f887e722df /client/Game.cs | |
| parent | c8ec21382633851dfb25922f7c15610818865b29 (diff) | |
Remove Godot client
Diffstat (limited to 'client/Game.cs')
| -rw-r--r-- | client/Game.cs | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/client/Game.cs b/client/Game.cs deleted file mode 100644 index 6bf6192..0000000 --- a/client/Game.cs +++ /dev/null @@ -1,37 +0,0 @@ -using Godot; -using System; -using Djup.Native; - -public partial class Game : Node2D -{ - private World world; - - private int[] balls = new int[100]; - private Random rng = new(); - - // Called when the node enters the scene tree for the first time. - public unsafe override void _Ready() - { - RenderingServer.SetDefaultClearColor(Colors.LightGray); - LibDjup.log_set_output((level, source, line, msg) => { - string level_name = level switch - { - LogLevel.Trace => "trace", - LogLevel.Debug => "debug", - LogLevel.Info => " info", - LogLevel.Warn => " warn", - LogLevel.Error => "error", - LogLevel.Fatal => "fatal", - _ => "UNKNOWN" - }; - GD.Print($"libdjup {source.PadLeft(10)}:{line.ToString().PadRight(3)} {level_name}: {msg}"); - }); - - world = GetNode<World>("World"); - - world.PutPlayer(0, new Djup.Native.Player() - { - Position = new Vec2(100f, 100f), - }); - } -} |
