Exemplo n.º 1
0
        //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);
        }
Exemplo n.º 2
0
 public void setProperties(PhysicsProperties props)
 {
     Properties = props;
 }