Top Level Namespace

Defined Under Namespace

Modules: Apex, ArgsUpdate, Center, Color, DevTools, Dimensions, FullKeyboard, Group, HandInformation, HandIteration, Identifiable, Identity, Individual, InputLists, Keyboard, KeyboardButtons, KeyboardConfirmations, KeyboardDirections, KeyboardLetters, KeyboardNumbers, KeyboardNumerals, Librarian, Location, Mouse, Position, Rectangle, Renderer, SelectorAcquire, SelectorQuery, SelectorRelinquish, SelectorStackManipulation, Size, SpriteHash, TimerConverter, Update Classes: BoxOfCards, Card, CooldownTimer, Deck, Error, Hand, Module, Numeric, Object, Selector, Symbol, Timer, TomesError

Constant Summary collapse

IGNORED_FILES =

Tomes itself is being ignored here because its folders must be loaded in a specific order and reloading them again on line 13 would be redundant.

Librarian::dredge_directory('app/tomes') + ['app/main.rb', 'app/tick.rb']
SCREEN_SIZE_X =
1280
SCREEN_SIZE_Y =
720
SCREEN_RANGE_X =
(0..1080).freeze
SCREEN_RANGE_Y =
(0..700).freeze
SPRITE_PATH =
'sprites/misc/simple-mood-16x16.png'
RIGHT_ALIGNED_ENUM =
0
CENTERED_ENUM =
1
LEFT_ALIGNED_ENUM =
2

Instance Method Summary collapse

Instance Method Details

#initialize(args) ⇒ Object



1
2
3
# File 'initialize.rb', line 1

def initialize args

end

#tick(args) ⇒ Object



1
2
3
4
5
6
7
8
9
10
11
12
13
14
# File 'tick.rb', line 1

def tick(args)

  DevTools::update(args) 
  Keyboard::update(args)
  args.state.ob ||= Keyboard

  args.state.ls = [
    args.state.ob,
    Keyboard::letter_hold
  ]

  DevTools.list([100, 700], Keyboard.instance_methods.sort - Object.instance_methods)
  DevTools.list([500, 700], args.state.ls)
end