Progress on tutorial, gap tweaking (water flows faster from room to room), UPnP error messages, input keys in array, underwater aiming tweaking, tons of misc stuff commit more often ffs
This commit is contained in:
@@ -3,10 +3,25 @@ using Microsoft.Xna.Framework.Input;
|
||||
|
||||
namespace Subsurface
|
||||
{
|
||||
|
||||
public enum InputType
|
||||
{
|
||||
Select,
|
||||
ActionHit, ActionHeld,
|
||||
SecondaryHit, SecondaryHeld,
|
||||
Left, Right, Up, Down,
|
||||
Run
|
||||
}
|
||||
|
||||
class Key
|
||||
{
|
||||
private bool state, stateQueue;
|
||||
private bool canBeHeld;
|
||||
|
||||
public bool CanBeHeld
|
||||
{
|
||||
get { return canBeHeld; }
|
||||
}
|
||||
|
||||
public Key(bool canBeHeld)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user