-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
JimmyBoivie
authored and
JimmyBoivie
committed
Dec 5, 2015
1 parent
d0604f5
commit 6777d5b
Showing
4 changed files
with
58 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
public class FaceList { | ||
|
||
private ArrayList<Face> faces; | ||
private Face unboundFace; | ||
|
||
public FaceList() { | ||
faces = new ArrayList<Face>(); | ||
unboundFace = new Face(); | ||
} | ||
|
||
public ArrayList<Face> getFaces() { | ||
return faces; | ||
} | ||
public Face getUnboundFace() { | ||
return unboundFace; | ||
} | ||
|
||
public boolean contains(Face f) { | ||
return faces.contains(f); | ||
} | ||
|
||
public void addFace(Face f) { | ||
faces.add(f); | ||
} | ||
|
||
public boolean removeFace(Point p) { | ||
return faces.remove(p); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters