More progress in updating the GSM
--HG-- branch : axios-newgsm
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
using FarseerPhysics.Dynamics;
|
||||
using FarseerPhysics.SamplesFramework;
|
||||
using Microsoft.Xna.Framework;
|
||||
using GameStateManagement;
|
||||
|
||||
namespace Axios.Engine
|
||||
{
|
||||
@@ -46,12 +47,12 @@ namespace Axios.Engine
|
||||
|
||||
}
|
||||
|
||||
public virtual void HandleInput(AxiosGameScreen gameScreen, InputHelper input, GameTime gameTime)
|
||||
public virtual void HandleInput(AxiosGameScreen gameScreen, InputState input, GameTime gameTime)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public virtual void HandleCursor(AxiosGameScreen gameScreen, InputHelper input)
|
||||
public virtual void HandleCursor(AxiosGameScreen gameScreen, InputState input)
|
||||
{
|
||||
|
||||
}
|
||||
|
@@ -210,7 +210,7 @@ namespace Axios.Engine
|
||||
|
||||
}
|
||||
|
||||
public override void HandleCursor(InputHelper input)
|
||||
public override void HandleCursor(InputState input)
|
||||
{
|
||||
base.HandleCursor(input);
|
||||
HandleMouseEvents(input);
|
||||
@@ -219,7 +219,7 @@ namespace Axios.Engine
|
||||
g.HandleCursor(this, input);
|
||||
}
|
||||
|
||||
private void HandleMouseEvents(InputHelper input)
|
||||
private void HandleMouseEvents(InputState input)
|
||||
{
|
||||
Vector2 position = this.Camera.ConvertScreenToWorld(input.Cursor);
|
||||
Fixture fix = this.World.TestPoint(position);
|
||||
|
Reference in New Issue
Block a user