@NoOffset @Properties(inherit=ale.class) public class StellaEnvironmentWrapper extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
StellaEnvironmentWrapper(Pointer p)
Pointer cast constructor.
|
StellaEnvironmentWrapper(StellaEnvironment environment) |
| Modifier and Type | Method and Description |
|---|---|
int |
act(int player_a_action,
int player_b_action) |
StellaEnvironment |
m_environment() |
void |
pressSelect() |
void |
pressSelect(long num_steps) |
void |
softReset() |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, offsetof, parseBytes, physicalBytes, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic StellaEnvironmentWrapper(Pointer p)
Pointer.Pointer(Pointer).public StellaEnvironmentWrapper(@ByRef StellaEnvironment environment)
@Cast(value="reward_t") public int act(@Cast(value="Action") int player_a_action, @Cast(value="Action") int player_b_action)
public void softReset()
public void pressSelect()
@MemberGetter @ByRef public StellaEnvironment m_environment()
Copyright © 2020. All rights reserved.