sdljava

Class SDLVersion

public class SDLVersion extends Object

SDL Version information

Version: $Id: SDLVersion.java,v 1.1 2005/02/15 03:10:55 ivan_ganza Exp $

Author: Ivan Z. Ganza

Field Summary
intmajor
intminor
intpatch
Constructor Summary
SDLVersion(SDL_version v)
Method Summary
intgetMajor()
Gets the value of major
intgetMinor()
Gets the value of minor
intgetPatch()
Gets the value of patch

Field Detail

major

int major

minor

int minor

patch

int patch

Constructor Detail

SDLVersion

public SDLVersion(SDL_version v)

Method Detail

getMajor

public int getMajor()
Gets the value of major

Returns: the value of major

getMinor

public int getMinor()
Gets the value of minor

Returns: the value of minor

getPatch

public int getPatch()
Gets the value of patch

Returns: the value of patch