change namespace to SemiColinGames

GitOrigin-RevId: 3c4e116e770edfcca7f661b3f0d74bb312aa6a04
This commit is contained in:
Colin McMillen 2020-01-08 17:56:57 -05:00
parent 7e64f2a0be
commit 096f577e61
9 changed files with 9 additions and 9 deletions

View File

@ -3,7 +3,7 @@ using System;
// Good background reading, eventually: // Good background reading, eventually:
// https://gamasutra.com/blogs/ItayKeren/20150511/243083/Scroll_Back_The_Theory_and_Practice_of_Cameras_in_SideScrollers.php // https://gamasutra.com/blogs/ItayKeren/20150511/243083/Scroll_Back_The_Theory_and_Practice_of_Cameras_in_SideScrollers.php
namespace Jumpy { namespace SemiColinGames {
class Camera { class Camera {
private Rectangle bbox = new Rectangle(0, 0, 1920 / 4, 1080 / 4); private Rectangle bbox = new Rectangle(0, 0, 1920 / 4, 1080 / 4);

View File

@ -2,7 +2,7 @@
using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Graphics;
using System.Collections.Generic; using System.Collections.Generic;
namespace Jumpy { namespace SemiColinGames {
static class Debug { static class Debug {
struct DebugRect { struct DebugRect {
public Rectangle rect; public Rectangle rect;

View File

@ -1,6 +1,6 @@
using System; using System;
namespace Jumpy { namespace SemiColinGames {
class FpsCounter { class FpsCounter {
private double fps = 0; private double fps = 0;
private int[] frameTimes = new int[60]; private int[] frameTimes = new int[60];

View File

@ -1,6 +1,6 @@
using System; 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. // 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 // 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 // N-1. Items older than the History's size are automatically dropped. The underlying

View File

@ -1,6 +1,6 @@
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework;
namespace Jumpy { namespace SemiColinGames {
public interface IDisplay { public interface IDisplay {
void Initialize(GameWindow window, GraphicsDeviceManager graphics); void Initialize(GameWindow window, GraphicsDeviceManager graphics);
void SetFullScreen(bool fullScreen); void SetFullScreen(bool fullScreen);

View File

@ -5,7 +5,7 @@ using Microsoft.Xna.Framework.Input;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace Jumpy { namespace SemiColinGames {
public class JumpyGame : Game { public class JumpyGame : Game {
GraphicsDeviceManager graphics; GraphicsDeviceManager graphics;

View File

@ -1,7 +1,7 @@
using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Framework.Input;
using System.Collections.Generic; using System.Collections.Generic;
namespace Jumpy { namespace SemiColinGames {
public class KeyboardInput { public class KeyboardInput {
private KeyboardState oldState = Keyboard.GetState(); private KeyboardState oldState = Keyboard.GetState();
private List<Keys> newKeysDown = new List<Keys>(); private List<Keys> newKeysDown = new List<Keys>();

View File

@ -4,7 +4,7 @@ using Microsoft.Xna.Framework.Input;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace Jumpy { namespace SemiColinGames {
class Player { class Player {
enum Facing { Left, Right }; enum Facing { Left, Right };
enum Pose { Walking, Standing, Crouching, Stretching, SwordSwing, Jumping }; enum Pose { Walking, Standing, Crouching, Stretching, SwordSwing, Jumping };

View File

@ -3,7 +3,7 @@ using Microsoft.Xna.Framework.Graphics;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace Jumpy { namespace SemiColinGames {
enum Terrain { enum Terrain {
Empty, Empty,
Grass, Grass,