api(mixins): More object methods exposed

This commit is contained in:
Owain van Brakel
2021-09-25 03:01:43 +02:00
parent 910ff6c082
commit d6579901c6
6 changed files with 145 additions and 6 deletions

View File

@@ -43,6 +43,11 @@ public interface Node
*/
Node getPrevious();
/**
* Unlink.
*/
void unlink();
/**
* Gets the hash value of the node.
*

View File

@@ -71,6 +71,56 @@ public interface Scene
*/
void removeGameObject(GameObject gameObject);
/**
* Remove a game object from the scene
* @param plane
* @param x
* @param y
*/
void removeGameObject(int plane, int x, int y);
/**
* Remove a game object from the scene
* @param wallObject
*/
void removeWallObject(WallObject wallObject);
/**
* Remove a wall object from the scene
* @param plane
* @param x
* @param y
*/
void removeWallObject(int plane, int x, int y);
/**
* Remove a decorative object from the scene
* @param decorativeObject
*/
void removeDecorativeObject(DecorativeObject decorativeObject);
/**
* Remove a decorative object from the scene
* @param plane
* @param x
* @param y
*/
void removeDecorativeObject(int plane, int x, int y);
/**
* Remove a ground object from the scene
* @param groundObject
*/
void removeGroundObject(GroundObject groundObject);
/**
* Remove a ground object from the scene
* @param plane
* @param x
* @param y
*/
void removeGroundObject(int plane, int x, int y);
void generateHouses();
void setRoofRemovalMode(int flags);