Improve creature turning wrt inertia
This commit is contained in:
@@ -35,6 +35,7 @@ import NewInt
|
||||
import RandomHelp
|
||||
import qualified SDL
|
||||
import ShortShow
|
||||
import qualified Data.IntSet as IS
|
||||
|
||||
tocrs :: (IM.IntMap Creature
|
||||
-> Const (Endo [String]) (IM.IntMap Creature))
|
||||
@@ -42,10 +43,7 @@ tocrs :: (IM.IntMap Creature
|
||||
tocrs = uvWorld . cWorld . lWorld . creatures
|
||||
|
||||
testStringInit :: Universe -> [String]
|
||||
testStringInit u = u ^.. tocrs . ix 2 . crType . hiveChildren . to show
|
||||
<> u ^.. tocrs . ix 3 . crStance . carriage . to show
|
||||
<> u ^.. tocrs . ix 3 . crDir . to show
|
||||
<> u ^.. tocrs . ix 3 . crActionPlan . apAction . to show
|
||||
testStringInit u = u ^.. tocrs . ix 2 . crType . hiveChildren . to IS.size . to show
|
||||
-- u ^.. tocrs . ix 1 . crPos . _xy . to show
|
||||
-- <> u ^.. tocrs . ix 1 . crType . slimeCompression . to show
|
||||
-- <> u ^.. tocrs . ix 1 . crType . slimeCompression . to norm . to show
|
||||
|
||||
Reference in New Issue
Block a user