SFML-2.3.2.4: SFML bindings

Safe HaskellNone
LanguageHaskell98

SFML.System.Time

Synopsis

Documentation

timeZero :: Time Source

Predefined "zero" time value.

asSeconds :: Time -> Float Source

Return a time value as a number of seconds.

asMilliseconds :: Time -> Int Source

Return a time value as a number of milliseconds.

asMicroseconds :: Time -> Int64 Source

Return a time value as a number of microseconds.

seconds Source

Arguments

:: Float

Number of seconds

-> Time 

Construct a time value from a number of seconds.

milliseconds Source

Arguments

:: Int

Number of milliseconds

-> Time 

Construct a time value from a number of milliseconds.

microseconds Source

Arguments

:: Int64

Number of microseconds

-> Time 

Construct a time value from a number of microseconds.