diff --git a/Shared/IWorld.cs b/Shared/IWorld.cs
index 9776d06..f598e35 100644
--- a/Shared/IWorld.cs
+++ b/Shared/IWorld.cs
@@ -3,6 +3,5 @@
namespace SemiColinGames {
public interface IWorld : IDisposable {
void Update(float modelTime, History input);
- Camera Camera { get; }
}
}
diff --git a/Shared/Shared.projitems b/Shared/Shared.projitems
index fe90ddf..b3b7ea5 100644
--- a/Shared/Shared.projitems
+++ b/Shared/Shared.projitems
@@ -34,6 +34,8 @@
+
+
\ No newline at end of file
diff --git a/Shared/SneakGame.cs b/Shared/SneakGame.cs
index 2fe351a..f26c995 100644
--- a/Shared/SneakGame.cs
+++ b/Shared/SneakGame.cs
@@ -64,9 +64,11 @@ namespace SemiColinGames {
private void LoadLevel() {
world?.Dispose();
- world = new World(GraphicsDevice, Content.LoadString("levels/demo.json"));
+ // world = new World(GraphicsDevice, Content.LoadString("levels/demo.json"));
+ world = new TreeWorld();
scene?.Dispose();
- scene = new Scene(GraphicsDevice, world.Camera);
+ // scene = new Scene(GraphicsDevice, ((World) world).Camera);
+ scene = new TreeScene(GraphicsDevice);
GC.Collect();
GC.WaitForPendingFinalizers();
diff --git a/Shared/TreeScene.cs b/Shared/TreeScene.cs
new file mode 100644
index 0000000..e7b5b9f
--- /dev/null
+++ b/Shared/TreeScene.cs
@@ -0,0 +1,25 @@
+using Microsoft.Xna.Framework;
+using Microsoft.Xna.Framework.Audio;
+using Microsoft.Xna.Framework.Graphics;
+using System;
+
+namespace SemiColinGames {
+ public sealed class TreeScene : IScene {
+
+ readonly Color backgroundColor = Color.SkyBlue;
+
+ readonly GraphicsDevice graphics;
+
+ public TreeScene(GraphicsDevice graphics) {
+ this.graphics = graphics;
+ }
+
+ public void Dispose() {
+ GC.SuppressFinalize(this);
+ }
+
+ public void Draw(bool isRunningSlowly, IWorld iworld, bool paused) {
+ graphics.Clear(backgroundColor);
+ }
+ }
+}
\ No newline at end of file
diff --git a/Shared/TreeWorld.cs b/Shared/TreeWorld.cs
new file mode 100644
index 0000000..e04f7c5
--- /dev/null
+++ b/Shared/TreeWorld.cs
@@ -0,0 +1,15 @@
+using Microsoft.Xna.Framework;
+using Microsoft.Xna.Framework.Graphics;
+using System;
+using System.Collections.Generic;
+
+namespace SemiColinGames {
+ public sealed class TreeWorld : IWorld {
+ public void Dispose() {
+ GC.SuppressFinalize(this);
+ }
+
+ public void Update(float modelTime, History input) {
+ }
+ }
+}