swarm-0.7.0.0: 2D resource gathering game with programmable robots
LicenseBSD-3-Clause
Safe HaskellNone
LanguageHaskell2010

Swarm.Game.Scenario.Topography.Placement

Description

Descriptions of the orientation and offset by which a structure should be placed.

Synopsis

Documentation

data Orientation Source #

Orientation transformations are applied before translation.

Constructors

Orientation 

Fields

reorientLandmark :: Orientation -> AreaDimensions -> Location -> Location Source #

This is the point-wise equivalent of "applyOrientationTransform"

data Pose Source #

Constructors

Pose 

Instances

Instances details
Show Pose Source # 
Instance details

Defined in Swarm.Game.Scenario.Topography.Placement

Methods

showsPrec :: Int -> Pose -> ShowS #

show :: Pose -> String #

showList :: [Pose] -> ShowS #

Eq Pose Source # 
Instance details

Defined in Swarm.Game.Scenario.Topography.Placement

Methods

(==) :: Pose -> Pose -> Bool #

(/=) :: Pose -> Pose -> Bool #