class Physicist::Laboratory::NullScientistView

Public Instance Methods

current() click to toggle source
# File lib/physicist/laboratory/views/scientist_view.rb, line 52
def current
  OpenStruct.new(position: position, velocity: velocity)
end
display_name() click to toggle source
# File lib/physicist/laboratory/views/scientist_view.rb, line 36
def display_name
  'Nohbdy'
end
position() click to toggle source
# File lib/physicist/laboratory/views/scientist_view.rb, line 40
def position
  [0,0]
end
space_id() click to toggle source
# File lib/physicist/laboratory/views/scientist_view.rb, line 48
def space_id
  nil
end
velocity() click to toggle source
# File lib/physicist/laboratory/views/scientist_view.rb, line 44
def velocity
  [0,0]
end