sdljava

Class SDLTimer

public class SDLTimer extends Object

Binding to the SDL Timer routines.

Version: $Id: SDLTimer.java,v 1.1 2005/01/30 21:33:06 doc_alton Exp $

Author: Bart Leboeuf (bartleboeuf@yahoo.fr)

Method Summary
static voiddelay(long ms)
Wait a specified number of milliseconds before returning.
static longgetTicks()
Get the number of milliseconds since the SDL library initialization.

Method Detail

delay

public static void delay(long ms)
Wait a specified number of milliseconds before returning.

Parameters: ms Wait a specified number of milliseconds before returning.

getTicks

public static long getTicks()
Get the number of milliseconds since the SDL library initialization.

Returns: long Get the number of milliseconds since the SDL library initialization.