Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv19683/src/net/sourceforge/bprocessor/model
Modified Files:
Space.java Geometric.java Constructor.java
Added Files:
Grid.java
Log Message:
removed some code
Index: Geometric.java
===================================================================
RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Geometric.java,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** Geometric.java 19 Jul 2007 12:23:39 -0000 1.19
--- Geometric.java 10 Oct 2007 08:32:00 -0000 1.20
***************
*** 203,215 ****
*/
public abstract void move(double x, double y, double z);
-
- /**
- * Check how much of the given direction this object can move
- * @param x the x distance
- * @param y the y distance
- * @param z the z distance
- * @param entities The other entities that are to be moved as well
- * @return The possible distance vector this object can move
- */
- public abstract Vertex canMove(double x, double y, double z, Collection entities);
}
--- 203,205 ----
Index: Space.java
===================================================================
RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Space.java,v
retrieving revision 1.179
retrieving revision 1.180
diff -C2 -d -r1.179 -r1.180
*** Space.java 8 Oct 2007 13:23:43 -0000 1.179
--- Space.java 10 Oct 2007 08:32:00 -0000 1.180
***************
*** 2207,2217 ****
}
- /** {@inheritDoc} */
- @Override
- public Vertex canMove(double x, double y, double z, Collection entities) {
- // TODO Think it through
- return new Vertex(x, y, z);
- }
-
/**
* Perform a consistency check of the geometry.
--- 2207,2210 ----
Index: Constructor.java
===================================================================
RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Constructor.java,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** Constructor.java 2 Oct 2007 12:37:56 -0000 1.22
--- Constructor.java 10 Oct 2007 08:32:00 -0000 1.23
***************
*** 250,258 ****
super.move(x, y, z);
}
-
- /** {@inheritDoc} */
- public Vertex canMove(double x, double y, double z, Collection entities) {
- return parent().canMove(x, y, z, entities);
- }
}
}
--- 250,253 ----
--- NEW FILE: Grid.java ---
//---------------------------------------------------------------------------------
// $Id: Grid.java,v 1.1 2007/10/10 08:32:00 henryml Exp $
//
// Copyright (c) 2005 The BProcessor Team (http://bprocessor.sourceforge.net)
// Released under the Lesser GNU Public License v2.1
//---------------------------------------------------------------------------------
package net.sourceforge.bprocessor.model;
import java.util.List;
/**
*
*/
public class Grid extends Constructor {
/** {@inheritDoc} */
@Override
public void delete() {
}
/** {@inheritDoc} */
public List<Attribute> getAttributes() {
return null;
}
/** {@inheritDoc} */
public String getGeneralName() {
return null;
}
/** {@inheritDoc} */
public void setAttributes(List<Attribute> attributes) {
}
}
|