Class: Natural20::Controller

Inherits:
Object
  • Object
show all
Defined in:
lib/natural_20/controller.rb

Direct Known Subclasses

AiController::Standard, CommandlineUI

Instance Method Summary collapse

Instance Method Details

#move_for(entity, battle) ⇒ Array(Natural20::Action)

Return moves by a player using the commandline UI

Parameters:

Returns:



9
# File 'lib/natural_20/controller.rb', line 9

def move_for(entity, battle); end

#roll_for(entity, die_type, number_of_times, description, advantage: false, disadvantage: false) ⇒ Object



3
# File 'lib/natural_20/controller.rb', line 3

def roll_for(entity, die_type, number_of_times, description, advantage: false, disadvantage: false); end