class Natural20::Controller

Public Instance Methods

move_for(entity, battle) click to toggle source

Return moves by a player using the commandline UI @param entity [Natural20::Entity] The entity to compute moves for @param battle [Natural20::Battle] An instance of the current battle @return [Array(Natural20::Action)]

# 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) click to toggle source
# File lib/natural_20/controller.rb, line 3
def roll_for(entity, die_type, number_of_times, description, advantage: false, disadvantage: false); end