WIP : still erratic ---
This commit is contained in:
parent
c684bab6e3
commit
393303dbc5
Binary file not shown.
|
@ -0,0 +1,25 @@
|
|||
import model
|
||||
|
||||
|
||||
sp = model.testmodel.get_states().get_space(0)
|
||||
|
||||
arrows= []
|
||||
|
||||
for x in range (0,6):
|
||||
arrows.append(sp.get_arrow(x).get_coord("x"))
|
||||
|
||||
print (arrows)
|
||||
|
||||
space = []
|
||||
|
||||
for i in range (0,30):
|
||||
for k in range (0,6):
|
||||
if arrows[k] == i:
|
||||
space.append(1)
|
||||
else:
|
||||
pass
|
||||
space.append(0)
|
||||
|
||||
print (space)
|
||||
|
||||
|
Loading…
Reference in New Issue