Package game.util

Source Code of game.util.ConstrictedEvent

package game.util;

import game.baseTypes.PhysicalObject;
import math.AxisAlignedBox;
import math.Vector;

public abstract class ConstrictedEvent extends AxisAlignedBox {

  public ConstrictedEvent(Vector position, Vector size) {
    super(position, size);
  }
 
  public ConstrictedEvent(Vector position, double size) {
    super(position, new Vector(size, size, size));
  }
 
  public abstract void applyTo(PhysicalObject target);

}
TOP

Related Classes of game.util.ConstrictedEvent

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.