Class: MockZombie
- Includes:
- ZombieInterface
- Defined in:
- lib/zombie-chaser/human.rb
Overview
Fixme provide a proper hierarchy
Instance Attribute Summary
Attributes inherited from Human
Instance Method Summary collapse
-
#initialize(*args) ⇒ MockZombie
constructor
A new instance of MockZombie.
Methods included from ZombieInterface
#actor_type, #current_symbol, #eat_human, #increase_angle_by, #notify_finished, #shuffle_in_one_place
Methods inherited from MockHuman
Methods inherited from Human
#actor_direction, #actor_state, #actor_type, #build_view_queue, #current_symbol, #dead?, #get_eaten, new_using_test_unit_handler, #no_other_living_zombies_in?, #notify_finish_dying, #notify_finished, #notify_passing_step, #notify_start_dying, #notify_world, #run, #run_tests, #test_suite_size, #update_view
Methods inherited from Actor
#actor_type, #calculate_x, #calculate_y, #draw, #image, sprites, window, #window, window=, #x, #y, #z
Constructor Details
#initialize(*args) ⇒ MockZombie
Returns a new instance of MockZombie.
307 308 309 310 |
# File 'lib/zombie-chaser/human.rb', line 307 def initialize(*args) @lurch_offset = 0 super end |