Advertisement
Guest User

Untitled

a guest
Nov 16th, 2014
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
D 0.30 KB | None | 0 0
  1. for( int action = 1; action < 10; action++ )
  2.     {
  3.       immutable actionID = action;
  4.       Input.addButtonDownEvent( "Action" ~ actionID.to!string, ( kc )
  5.       {
  6.         Game.turn.sendAction( Action( NetworkAction.select, actionID, 0, false ) );
  7.         selectAbility( actionID );
  8.       } );
  9.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement