Slide 6
Slide 6 text
The Dilemma
SKShapeNode *shipOverlayShape =
[[SKShapeNode alloc] init];
shipOverlayShape.path = boundingPath;
shipOverlayShape.strokeColor =
[SKColor clearColor];
shipOverlayShape.fillColor =
[SKColor colorWithRed:0.0 green:1.0 blue:0.0
alpha:0.5];
[ship addChild:shipOverlayShape];
data GameState = GameState
{ gsSize :: (Double, Double)
, time :: Millisecond
, level :: Int
, lifes :: Int
, towers :: [Tower]
, creeps :: [Creep]
, shots :: [Shot]
}