call-0.1.3: The call game engine

Copyright(c) Fumiaki Kinoshita 2014
LicenseBSD3
MaintainerFumiaki Kinoshita <fumiexcel@gmail.com>
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Call.System

Contents

Description

 

Synopsis

The system

data System s a Source

Instances

Monad (System s) 
Functor (System s) 
Applicative (System s) 
Tower (System s) 
MonadIO (System s) 
ObjectiveBase (System s) 
Monoid a => Monoid (System s a) 
Figure a => Figure (System s a) 
Affine a => Affine (System s a) 
type Floors (System s) = Floors IO 
data Inst (System s) = InstS (MVar (Object f g)) 
type InstOf (System s) (Object f g) = Inst (System s) f g 
type Vec (System s a) = Vec a 
type Normal (System s a) = Normal a 

runSystem :: WindowMode -> Box V2 Float -> (forall s. System s a) -> IO (Maybe a) Source

Time

wait :: Time -> System s () Source

Raw input

Component

linkMouse :: (MouseEvent -> System s ()) -> System s () Source

Others