nyx-game-1.0.0.0: A bullet-hell game made with SDL2.
Play.Engine.ScrollingBackground
data SBG Source #
Constructors
Fields
Defined in Play.Engine.ScrollingBackground
Methods
size :: Lens' SBG Size Source #
texture :: Lens' SBG Texture Source #
speed :: Lens' SBG Int Source #
sbg2 :: Lens' SBG BG Source #
sbg1 :: Lens' SBG BG Source #
data BG Source #
pos :: Lens' BG IPoint Source #
class HasSbg1 s a | s -> a where Source #
sbg1 :: Lens' s a Source #
class HasSbg2 s a | s -> a where Source #
sbg2 :: Lens' s a Source #
class HasSpeed s a | s -> a where Source #
speed :: Lens' s a Source #
class HasTexture s a | s -> a where Source #
texture :: Lens' s a Source #
mkSBG :: Texture -> Int -> Size -> IPoint -> SBG Source #
updateSBG :: SBG -> SBG Source #
render :: Renderer -> Camera -> SBG -> IO () Source #