Skip to content

Commit

Permalink
Added Collidable Interface (Closes #6)
Browse files Browse the repository at this point in the history
Signed-off-by: Harsh Kumar <harsh19043@iiitd.ac.in>
  • Loading branch information
hadron43 committed Nov 29, 2020
1 parent 4b710f8 commit 04a36c0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/interfaces/Collidable.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package interfaces;

import javafx.geometry.Bounds;

public interface Collidable {
Bounds getBounds();
int hasCollided(Collidable c);
}

0 comments on commit 04a36c0

Please sign in to comment.