Class: Physicist::Laboratory::NullScientistView
- Inherits:
-
Object
- Object
- Physicist::Laboratory::NullScientistView
- Defined in:
- lib/physicist/laboratory/views/scientist_view.rb
Instance Method Summary collapse
Instance Method Details
#current ⇒ Object
52 53 54 |
# File 'lib/physicist/laboratory/views/scientist_view.rb', line 52 def current OpenStruct.new(position: position, velocity: velocity) end |
#display_name ⇒ Object
36 37 38 |
# File 'lib/physicist/laboratory/views/scientist_view.rb', line 36 def display_name 'Nohbdy' end |
#position ⇒ Object
40 41 42 |
# File 'lib/physicist/laboratory/views/scientist_view.rb', line 40 def position [0,0] end |
#space_id ⇒ Object
48 49 50 |
# File 'lib/physicist/laboratory/views/scientist_view.rb', line 48 def space_id nil end |
#velocity ⇒ Object
44 45 46 |
# File 'lib/physicist/laboratory/views/scientist_view.rb', line 44 def velocity [0,0] end |