I'm looking to be able to do something like this:
Keystate@ state = keyboard.getKeystate("space");
// elsewhere...
if (state)
{
// key is down
}
Keystate@ state = keyboard.getKeystate("space");
// elsewhere...
if (state)
{
// key is down
}
Keystate@ state = keyboard.getKeystate("space");
// elsewhere...
if ( state.isDown() )
{
// key is down
}
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game