Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@ protected override void LoadContent()

protected override void Update(GameTime gameTime)
{
if (GamePad.GetState(PlayerIndex.One).Buttons.Back == ButtonState.Pressed || Keyboard.GetState().IsKeyDown(Keys.Escape))
Exit();

// Update the slime animated sprite.
_slime.Update(gameTime);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ public Core(string title, int width, int height, bool fullScreen)

// Mouse is visible by default
IsMouseVisible = true;

// Exit on escape is true by default
ExitOnEscape = true;
}

protected override void Initialize()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@ protected override void LoadContent()

protected override void Update(GameTime gameTime)
{
if (GamePad.GetState(PlayerIndex.One).Buttons.Back == ButtonState.Pressed || Keyboard.GetState().IsKeyDown(Keys.Escape))
Exit();

// Update the slime animated sprite.
_slime.Update(gameTime);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ public Core(string title, int width, int height, bool fullScreen)

// Mouse is visible by default
IsMouseVisible = true;

// Exit on escape is true by default
ExitOnEscape = true;
}

protected override void Initialize()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,6 @@ protected override void LoadContent()

protected override void Update(GameTime gameTime)
{
if (GamePad.GetState(PlayerIndex.One).Buttons.Back == ButtonState.Pressed || Keyboard.GetState().IsKeyDown(Keys.Escape))
Exit();

// Update the slime animated sprite.
_slime.Update(gameTime);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ public Core(string title, int width, int height, bool fullScreen)

// Mouse is visible by default
IsMouseVisible = true;

// Exit on escape is true by default
ExitOnEscape = true;
}

protected override void Initialize()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,6 @@ protected override void LoadContent()

protected override void Update(GameTime gameTime)
{
if (GamePad.GetState(PlayerIndex.One).Buttons.Back == ButtonState.Pressed || Keyboard.GetState().IsKeyDown(Keys.Escape))
Exit();

// Update the slime animated sprite.
_slime.Update(gameTime);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ public Core(string title, int width, int height, bool fullScreen)

// Mouse is visible by default
IsMouseVisible = true;

// Exit on escape is true by default
ExitOnEscape = true;
}

protected override void Initialize()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,6 @@ protected override void LoadContent()

protected override void Update(GameTime gameTime)
{
if (GamePad.GetState(PlayerIndex.One).Buttons.Back == ButtonState.Pressed || Keyboard.GetState().IsKeyDown(Keys.Escape))
Exit();

// Update the slime animated sprite.
_slime.Update(gameTime);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ public Core(string title, int width, int height, bool fullScreen)

// Mouse is visible by default
IsMouseVisible = true;

// Exit on escape is true by default
ExitOnEscape = true;
}

protected override void Initialize()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,6 @@ protected override void LoadContent()

protected override void Update(GameTime gameTime)
{
if (GamePad.GetState(PlayerIndex.One).Buttons.Back == ButtonState.Pressed || Keyboard.GetState().IsKeyDown(Keys.Escape))
Exit();

// Update the slime animated sprite.
_slime.Update(gameTime);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ public Core(string title, int width, int height, bool fullScreen)

// Mouse is visible by default
IsMouseVisible = true;

// Exit on escape is true by default
ExitOnEscape = true;
}

protected override void Initialize()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ public Core(string title, int width, int height, bool fullScreen)

// Mouse is visible by default
IsMouseVisible = true;

// Exit on escape is true by default
ExitOnEscape = true;
}

protected override void Initialize()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ public Core(string title, int width, int height, bool fullScreen)

// Mouse is visible by default
IsMouseVisible = true;

// Exit on escape is true by default
ExitOnEscape = true;
}

protected override void Initialize()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ public Core(string title, int width, int height, bool fullScreen)

// Mouse is visible by default
IsMouseVisible = true;

// Exit on escape is true by default
ExitOnEscape = true;
}

protected override void Initialize()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ public Core(string title, int width, int height, bool fullScreen)

// Mouse is visible by default
IsMouseVisible = true;

// Exit on escape is true by default
ExitOnEscape = true;
}

protected override void Initialize()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ public Core(string title, int width, int height, bool fullScreen)

// Mouse is visible by default
IsMouseVisible = true;

// Exit on escape is true by default
ExitOnEscape = true;
}

protected override void Initialize()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ public Core(string title, int width, int height, bool fullScreen)

// Mouse is visible by default
IsMouseVisible = true;

// Exit on escape is true by default
ExitOnEscape = true;
}

protected override void Initialize()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ public Core(string title, int width, int height, bool fullScreen)

// Mouse is visible by default
IsMouseVisible = true;

// Exit on escape is true by default
ExitOnEscape = true;
}

protected override void Initialize()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ public Core(string title, int width, int height, bool fullScreen)

// Mouse is visible by default
IsMouseVisible = true;

// Exit on escape is true by default
ExitOnEscape = true;
}

protected override void Initialize()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ public Core(string title, int width, int height, bool fullScreen)

// Mouse is visible by default
IsMouseVisible = true;

// Exit on escape is true by default
ExitOnEscape = true;
}

protected override void Initialize()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ public Core(string title, int width, int height, bool fullScreen)

// Mouse is visible by default
IsMouseVisible = true;

// Exit on escape is true by default
ExitOnEscape = true;
}

protected override void Initialize()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ public Core(string title, int width, int height, bool fullScreen)

// Mouse is visible by default
IsMouseVisible = true;

// Exit on escape is true by default
ExitOnEscape = true;
}

protected override void Initialize()
Expand Down