replace awt.Point with Direction