Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for( int action = 1; action < 10; action++ )
- {
- immutable actionID = action;
- Input.addButtonDownEvent( "Action" ~ actionID.to!string, ( kc )
- {
- Game.turn.sendAction( Action( NetworkAction.select, actionID, 0, false ) );
- selectAbility( actionID );
- } );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement