Starsector API
Loading...
Searching...
No Matches
CollisionGridAPI.java
Go to the documentation of this file.
1package com.fs.starfarer.api.combat;
2
3import java.util.Iterator;
4
5import org.lwjgl.util.vector.Vector2f;
6
22public interface CollisionGridAPI {
23
31 void addObject(Object object, Vector2f loc, float objWidth, float objHeight);
32
40 void removeObject(Object object, Vector2f loc, float objWidth, float objHeight);
41
49 Iterator<Object> getCheckIterator(Vector2f loc, float checkWidth, float checkHeight);
50
51}
52
53
54
55
void removeObject(Object object, Vector2f loc, float objWidth, float objHeight)
Iterator< Object > getCheckIterator(Vector2f loc, float checkWidth, float checkHeight)
void addObject(Object object, Vector2f loc, float objWidth, float objHeight)