| License | BSD-3-Clause |
|---|---|
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Swarm.Game.Entity.Cosmetic.Assignment
Contents
Description
Entity and terrain coloring.
This module is the sole "ground truth" for color assignment of entities and terrain. More specifically, it sets colors for "attributes", and the attributes are referenced by entities/terrain.
Synopsis
- entity :: (WorldAttr, PreservableColor)
- water :: (WorldAttr, PreservableColor)
- rock :: (WorldAttr, PreservableColor)
- plant :: (WorldAttr, PreservableColor)
- dirt :: (WorldAttr, PreservableColor)
- grass :: (WorldAttr, PreservableColor)
- stone :: (WorldAttr, PreservableColor)
- ice :: (WorldAttr, PreservableColor)
- worldAttributes :: Map WorldAttr PreservableColor
Entities and Terrain
entity :: (WorldAttr, PreservableColor) Source #
water :: (WorldAttr, PreservableColor) Source #
rock :: (WorldAttr, PreservableColor) Source #
plant :: (WorldAttr, PreservableColor) Source #
dirt :: (WorldAttr, PreservableColor) Source #
grass :: (WorldAttr, PreservableColor) Source #
stone :: (WorldAttr, PreservableColor) Source #
ice :: (WorldAttr, PreservableColor) Source #
worldAttributes :: Map WorldAttr PreservableColor Source #
Colors of entities in the world.