@Namespace(value="ale::stella") @NoOffset @Properties(inherit=ale.class) public class Event extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Modifier and Type | Field and Description |
---|---|
static int |
ConsoleBlackWhite
enum ale::stella::Event::Type
|
static int |
ConsoleColor
enum ale::stella::Event::Type
|
static int |
ConsoleLeftDifficultyA
enum ale::stella::Event::Type
|
static int |
ConsoleLeftDifficultyB
enum ale::stella::Event::Type
|
static int |
ConsoleReset
enum ale::stella::Event::Type
|
static int |
ConsoleRightDifficultyA
enum ale::stella::Event::Type
|
static int |
ConsoleRightDifficultyB
enum ale::stella::Event::Type
|
static int |
ConsoleSelect
enum ale::stella::Event::Type
|
static int |
JoystickOneDown
enum ale::stella::Event::Type
|
static int |
JoystickOneFire
enum ale::stella::Event::Type
|
static int |
JoystickOneLeft
enum ale::stella::Event::Type
|
static int |
JoystickOneRight
enum ale::stella::Event::Type
|
static int |
JoystickOneUp
enum ale::stella::Event::Type
|
static int |
JoystickZeroDown
enum ale::stella::Event::Type
|
static int |
JoystickZeroFire
enum ale::stella::Event::Type
|
static int |
JoystickZeroLeft
enum ale::stella::Event::Type
|
static int |
JoystickZeroRight
enum ale::stella::Event::Type
|
static int |
JoystickZeroUp
enum ale::stella::Event::Type
|
static int |
LastType
enum ale::stella::Event::Type
|
static int |
PaddleOneAnalog
enum ale::stella::Event::Type
|
static int |
PaddleOneDecrease
enum ale::stella::Event::Type
|
static int |
PaddleOneFire
enum ale::stella::Event::Type
|
static int |
PaddleOneIncrease
enum ale::stella::Event::Type
|
static int |
PaddleOneResistance
enum ale::stella::Event::Type
|
static int |
PaddleThreeAnalog
enum ale::stella::Event::Type
|
static int |
PaddleThreeDecrease
enum ale::stella::Event::Type
|
static int |
PaddleThreeFire
enum ale::stella::Event::Type
|
static int |
PaddleThreeIncrease
enum ale::stella::Event::Type
|
static int |
PaddleThreeResistance
enum ale::stella::Event::Type
|
static int |
PaddleTwoAnalog
enum ale::stella::Event::Type
|
static int |
PaddleTwoDecrease
enum ale::stella::Event::Type
|
static int |
PaddleTwoFire
enum ale::stella::Event::Type
|
static int |
PaddleTwoIncrease
enum ale::stella::Event::Type
|
static int |
PaddleTwoResistance
enum ale::stella::Event::Type
|
static int |
PaddleZeroAnalog
enum ale::stella::Event::Type
|
static int |
PaddleZeroDecrease
enum ale::stella::Event::Type
|
static int |
PaddleZeroFire
enum ale::stella::Event::Type
|
static int |
PaddleZeroIncrease
enum ale::stella::Event::Type
|
static int |
PaddleZeroResistance
enum ale::stella::Event::Type
|
Constructor and Description |
---|
Event()
Create a new event object and use the given eventstreamer
|
Event(long size)
Native array allocator.
|
Event(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears the event array (resets to initial state)
|
int |
get(int type)
Get the value associated with the event of the specified type
|
Event |
getPointer(long i) |
Event |
position(long position) |
void |
set(int type,
int value)
Set the value associated with the event of the specified type
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public static final int ConsoleColor
public static final int ConsoleBlackWhite
public static final int ConsoleLeftDifficultyA
public static final int ConsoleLeftDifficultyB
public static final int ConsoleRightDifficultyA
public static final int ConsoleRightDifficultyB
public static final int ConsoleSelect
public static final int ConsoleReset
public static final int JoystickZeroUp
public static final int JoystickZeroDown
public static final int JoystickZeroLeft
public static final int JoystickZeroRight
public static final int JoystickZeroFire
public static final int JoystickOneUp
public static final int JoystickOneDown
public static final int JoystickOneLeft
public static final int JoystickOneRight
public static final int JoystickOneFire
public static final int PaddleZeroResistance
public static final int PaddleZeroFire
public static final int PaddleZeroDecrease
public static final int PaddleZeroIncrease
public static final int PaddleZeroAnalog
public static final int PaddleOneResistance
public static final int PaddleOneFire
public static final int PaddleOneDecrease
public static final int PaddleOneIncrease
public static final int PaddleOneAnalog
public static final int PaddleTwoResistance
public static final int PaddleTwoFire
public static final int PaddleTwoDecrease
public static final int PaddleTwoIncrease
public static final int PaddleTwoAnalog
public static final int PaddleThreeResistance
public static final int PaddleThreeFire
public static final int PaddleThreeDecrease
public static final int PaddleThreeIncrease
public static final int PaddleThreeAnalog
public static final int LastType
public Event(Pointer p)
Pointer(Pointer)
.public Event(long size)
Pointer.position(long)
.public Event()
public Event getPointer(long i)
getPointer
in class Pointer
public int get(@Cast(value="ale::stella::Event::Type") int type)
public void set(@Cast(value="ale::stella::Event::Type") int type, int value)
public void clear()
Copyright © 2022. All rights reserved.