rename the objects accessor

and move to object keys, not object_id
This commit is contained in:
Torsten Ruger
2018-06-15 09:18:39 +03:00
parent 3cc9175efa
commit 2c765c8f14
8 changed files with 18 additions and 15 deletions

View File

@ -34,7 +34,7 @@ module Risc
end
def has_positions(platform)
setup_for(platform)
@machine.objects.each do |id,obj|
@machine.object_positions.each do |obj , pos|
assert Position.get(obj)
end
end