mischief-ecs
Safe HaskellNone
LanguageGHC2024

Mischief.ECS.World.Query.TH.QF

Synopsis

Documentation

data Qf Source #

Instances

Instances details
Show Qf Source # 
Instance details

Defined in Mischief.ECS.World.Query.TH.QF

Methods

showsPrec :: Int -> Qf -> ShowS #

show :: Qf -> String #

showList :: [Qf] -> ShowS #

opt0 :: Qf -> Qf Source #

Flatten Ands and Ors in one direction.

opt1 :: Qf -> Qf Source #

Sort the And chains so that Withs are first, and Withouts second. Sort the Or chains so that Changed are last.

optF :: Qf -> Qf Source #

If possible, ensure that the first filter is not a Without or Or.

data QfType Source #

Constructors

QfType 

Fields

Instances

Instances details
Show QfType Source # 
Instance details

Defined in Mischief.ECS.World.Query.TH.QF