class Aoc2022::Day11::Monkey
- Aoc2022::Day11::Monkey
- Reference
- Object
Defined in:
aoc2022/days/day11.crConstructors
Instance Method Summary
- #configure_worry_reducer(worry_reducer : Proc(Int64, Int64))
- #divisible_test : Int64
- #inspect_count : Int32
- #items : Array(Int64)
- #play(monkeys : Array(self))
- #receive_item(item : Int64)
Constructor Detail
def self.new(index : Int64, items : Array(Int64), operation : Operation, divisible_test : Int64, throw_true : Int64, throw_false : Int64)
#