//new PhysicsObject("Dave", new PictureBox{VALUES}, new Vector(0, 0), false) /// <summary> /// This is the main constuctor for physics objects. /// </summary> public PhysicsObject(String name, PictureBox box, Vector vector, Boolean physics) { Name = name; Box = box; Vector = vector; Properties = new PhysicsProperties(this, 3, 15, physics, true, null); Engine.Objects.addPhysicsObject(this); }
public void setProperties(PhysicsProperties props) { Properties = props; }