SFML-2.3.2.2: SFML bindings

Safe HaskellNone
LanguageHaskell98

SFML.System.Time

Synopsis

Documentation

type Time = Int64

timeZero :: Time

Predefined "zero" time value.

asSeconds :: Time -> Float

Return a time value as a number of seconds.

asMilliseconds :: Time -> Int

Return a time value as a number of milliseconds.

asMicroseconds :: Time -> Int64

Return a time value as a number of microseconds.

seconds

Arguments

:: Float

Number of seconds

-> Time 

Construct a time value from a number of seconds.

milliseconds

Arguments

:: Int

Number of milliseconds

-> Time 

Construct a time value from a number of milliseconds.

microseconds

Arguments

:: Int64

Number of microseconds

-> Time 

Construct a time value from a number of microseconds.