Browse Source

change namespace to SemiColinGames

GitOrigin-RevId: 3c4e116e77
master
Colin McMillen 4 years ago
parent
commit
096f577e61
  1. 2
      Shared/Camera.cs
  2. 2
      Shared/Debug.cs
  3. 2
      Shared/FpsCounter.cs
  4. 2
      Shared/History.cs
  5. 2
      Shared/IDisplay.cs
  6. 2
      Shared/JumpyGame.cs
  7. 2
      Shared/KeyboardInput.cs
  8. 2
      Shared/Player.cs
  9. 2
      Shared/World.cs

2
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);

2
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;

2
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];

2
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

2
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);

2
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;

2
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<Keys> newKeysDown = new List<Keys>();

2
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 };

2
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,

Loading…
Cancel
Save