public class BulletBase extends Object implements Disposable
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
boolean |
equals(Object obj) |
long |
getCPointer() |
int |
hashCode() |
boolean |
hasOwnership() |
boolean |
isDisposed() |
boolean |
isObtained() |
void |
obtain()
Obtains a reference to this object, call release to free the reference.
|
void |
release()
Release a previously obtained reference, causing the object to be disposed when this was the last reference.
|
void |
releaseOwnership()
Release ownership of the native instance, causing the native object NOT to be deleted when this object gets out of scope.
|
void |
takeOwnership()
Take ownership of the native instance, causing the native object to be deleted when this object gets out of scope.
|
String |
toString() |
public final String className
public void obtain()
public void release()
public boolean isObtained()
obtain() method.public long getCPointer()
public void takeOwnership()
public void releaseOwnership()
public boolean hasOwnership()
public void dispose()
dispose in interface Disposablepublic boolean isDisposed()
dispose() method of this instance is called.Copyright © 2021. All rights reserved.