From 096f577e61a3f923f5a28bf1d6874f769d4cff2f Mon Sep 17 00:00:00 2001 From: Colin McMillen Date: Wed, 8 Jan 2020 17:56:57 -0500 Subject: [PATCH] change namespace to SemiColinGames GitOrigin-RevId: 3c4e116e770edfcca7f661b3f0d74bb312aa6a04 --- Shared/Camera.cs | 2 +- Shared/Debug.cs | 2 +- Shared/FpsCounter.cs | 2 +- Shared/History.cs | 2 +- Shared/IDisplay.cs | 2 +- Shared/JumpyGame.cs | 2 +- Shared/KeyboardInput.cs | 2 +- Shared/Player.cs | 2 +- Shared/World.cs | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Shared/Camera.cs b/Shared/Camera.cs index 9ae7d4c..8d5031a 100644 --- a/Shared/Camera.cs +++ b/Shared/Camera.cs @@ -3,7 +3,7 @@ using System; // Good background reading, eventually: // https://gamasutra.com/blogs/ItayKeren/20150511/243083/Scroll_Back_The_Theory_and_Practice_of_Cameras_in_SideScrollers.php -namespace Jumpy { +namespace SemiColinGames { class Camera { private Rectangle bbox = new Rectangle(0, 0, 1920 / 4, 1080 / 4); diff --git a/Shared/Debug.cs b/Shared/Debug.cs index 13120f9..bf8927c 100644 --- a/Shared/Debug.cs +++ b/Shared/Debug.cs @@ -2,7 +2,7 @@ using Microsoft.Xna.Framework.Graphics; using System.Collections.Generic; -namespace Jumpy { +namespace SemiColinGames { static class Debug { struct DebugRect { public Rectangle rect; diff --git a/Shared/FpsCounter.cs b/Shared/FpsCounter.cs index 2fad62c..73e494b 100644 --- a/Shared/FpsCounter.cs +++ b/Shared/FpsCounter.cs @@ -1,6 +1,6 @@ using System; -namespace Jumpy { +namespace SemiColinGames { class FpsCounter { private double fps = 0; private int[] frameTimes = new int[60]; diff --git a/Shared/History.cs b/Shared/History.cs index 021911e..a26f81c 100644 --- a/Shared/History.cs +++ b/Shared/History.cs @@ -1,6 +1,6 @@ using System; -namespace Jumpy { +namespace SemiColinGames { // A History is a queue of fixed length N that records the N most recent items Add()ed to it. // The mostly-recently-added item is found at index 0; the least-recently-added item is at index // N-1. Items older than the History's size are automatically dropped. The underlying diff --git a/Shared/IDisplay.cs b/Shared/IDisplay.cs index 5559404..278349d 100644 --- a/Shared/IDisplay.cs +++ b/Shared/IDisplay.cs @@ -1,6 +1,6 @@ using Microsoft.Xna.Framework; -namespace Jumpy { +namespace SemiColinGames { public interface IDisplay { void Initialize(GameWindow window, GraphicsDeviceManager graphics); void SetFullScreen(bool fullScreen); diff --git a/Shared/JumpyGame.cs b/Shared/JumpyGame.cs index 9b6124c..a10f456 100644 --- a/Shared/JumpyGame.cs +++ b/Shared/JumpyGame.cs @@ -5,7 +5,7 @@ using Microsoft.Xna.Framework.Input; using System; using System.Collections.Generic; -namespace Jumpy { +namespace SemiColinGames { public class JumpyGame : Game { GraphicsDeviceManager graphics; diff --git a/Shared/KeyboardInput.cs b/Shared/KeyboardInput.cs index 38ffd30..0dd8610 100644 --- a/Shared/KeyboardInput.cs +++ b/Shared/KeyboardInput.cs @@ -1,7 +1,7 @@ using Microsoft.Xna.Framework.Input; using System.Collections.Generic; -namespace Jumpy { +namespace SemiColinGames { public class KeyboardInput { private KeyboardState oldState = Keyboard.GetState(); private List newKeysDown = new List(); diff --git a/Shared/Player.cs b/Shared/Player.cs index afa3975..d88b245 100644 --- a/Shared/Player.cs +++ b/Shared/Player.cs @@ -4,7 +4,7 @@ using Microsoft.Xna.Framework.Input; using System; using System.Collections.Generic; -namespace Jumpy { +namespace SemiColinGames { class Player { enum Facing { Left, Right }; enum Pose { Walking, Standing, Crouching, Stretching, SwordSwing, Jumping }; diff --git a/Shared/World.cs b/Shared/World.cs index eddec0b..3f24cf6 100644 --- a/Shared/World.cs +++ b/Shared/World.cs @@ -3,7 +3,7 @@ using Microsoft.Xna.Framework.Graphics; using System; using System.Collections.Generic; -namespace Jumpy { +namespace SemiColinGames { enum Terrain { Empty, Grass,