[Bprocessor-commit] model/src/net/sourceforge/bprocessor/model Surface.java, 1.177, 1.178
Status: Pre-Alpha
Brought to you by:
henryml
From: Michael L. <he...@us...> - 2007-09-26 08:36:27
|
Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv509/src/net/sourceforge/bprocessor/model Modified Files: Surface.java Log Message: Preps for new space assignment mechanism Index: Surface.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Surface.java,v retrieving revision 1.177 retrieving revision 1.178 diff -C2 -d -r1.177 -r1.178 *** Surface.java 26 Sep 2007 08:05:26 -0000 1.177 --- Surface.java 26 Sep 2007 08:36:29 -0000 1.178 *************** *** 1300,1303 **** --- 1300,1311 ---- /** + * Assigns the back and propagates to nearby surfaces. + * @param back Space + */ + public void assignBack(Space back) { + setBackDomain(back); + } + + /** * Get the domain in front of the surface * @return the frontdomain *************** *** 1312,1315 **** --- 1320,1333 ---- return frontDomain; } + + /** + * Assigns the front at takes care of propagating + * to nearby surfaces + * @param front Space to assign + */ + public void assignFront(Space front) { + setFrontDomain(front); + } + /** * Set the domain in front of the surface *************** *** 1327,1331 **** frontDomain.addSurface(this); } - //changed(); } } --- 1345,1348 ---- |