mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 10:09:43 +01:00
72d018ea04
The android version just got a much needed update to fix some resolution issues on devices with cutouts. It turns out the mobile source was actually pretty out of date, like 3 versions out of date! This commit brings it up to date. All the changes have just been about keeping the game running on modern devices, though. The biggest change was adding the Starling library to the project, which made the game GPU powered and sped the whole thing up.
33 lines
No EOL
1.1 KiB
ActionScript
33 lines
No EOL
1.1 KiB
ActionScript
// =================================================================================================
|
|
//
|
|
// Starling Framework
|
|
// Copyright Gamua GmbH. All Rights Reserved.
|
|
//
|
|
// This program is free software. You can redistribute and/or modify it
|
|
// in accordance with the terms of the accompanying license agreement.
|
|
//
|
|
// =================================================================================================
|
|
|
|
package starling.display
|
|
{
|
|
import starling.errors.AbstractClassError;
|
|
|
|
/** A class that provides constant values for the states of the Button class. */
|
|
public class ButtonState
|
|
{
|
|
/** @private */
|
|
public function ButtonState() { throw new AbstractClassError(); }
|
|
|
|
/** The button's default state. */
|
|
public static const UP:String = "up";
|
|
|
|
/** The button is pressed. */
|
|
public static const DOWN:String = "down";
|
|
|
|
/** The mouse hovers over the button. */
|
|
public static const OVER:String = "over";
|
|
|
|
/** The button was disabled altogether. */
|
|
public static const DISABLED:String = "disabled";
|
|
}
|
|
} |