Mallet Engine  2
Entity-Component based game engine, written in Java.
 All Classes Namespaces Files Functions Variables
Public Member Functions
com.linxonline.mallet.renderer.SupportResolutions Class Reference

List of all members.

Public Member Functions

 SupportResolutions ()
boolean loadSupportFile (final String _file)
Vector2 getBestResolution (final Ratio _ratio, final Vector2 _default)

Detailed Description

SupportResolutions allows a developer to inform the Engine what resolutions & aspect-ratios they have decided to support.

If a screen resolution is used that is not directly supported, then it will use the best resolution availble. If the screen uses an aspect-ratio, not supported then it will return the _default resolution. Ie. the resolution passed in.


Constructor & Destructor Documentation


Member Function Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables