Adding new extensions
This commit is contained in:
11
axios/Engine/Extensions/Camera.cs
Normal file
11
axios/Engine/Extensions/Camera.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace Axios.Engine.Extensions
|
||||
{
|
||||
public static class Camera
|
||||
{
|
||||
}
|
||||
}
|
18
axios/Engine/Extensions/MouseState.cs
Normal file
18
axios/Engine/Extensions/MouseState.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Input;
|
||||
using GameStateManagement;
|
||||
|
||||
namespace Axios.Engine.Extensions
|
||||
{
|
||||
public static class MoustStateExtensions
|
||||
{
|
||||
public static Vector2 Position(this MouseState input)
|
||||
{
|
||||
return new Vector2(input.X, input.Y);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user