@Namespace(value="ale") @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) |
Random |
getEnvironmentRNG() |
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, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public StellaEnvironmentWrapper(Pointer p)
Pointer(Pointer)
.public StellaEnvironmentWrapper(@ByRef StellaEnvironment environment)
@Cast(value="ale::reward_t") public int act(@Cast(value="ale::Action") int player_a_action, @Cast(value="ale::Action") int player_b_action)
public void softReset()
public void pressSelect()
@MemberGetter @ByRef public StellaEnvironment m_environment()
Copyright © 2022. All rights reserved.