public static bool CheckMovement(Mobile m, Direction d, out int newZ) { if (m_Impl != null) { return(m_Impl.CheckMovement(m, d, out newZ)); } newZ = m.Z; return(false); }
/*public static bool CheckMovement(IPoint3D p, Direction d, out int newZ) * { * if (m_Impl != null) * { * return m_Impl.CheckMovement(p, d, out newZ); * } * * newZ = p.Z; * return false; * }*/ public static bool CheckMovement(IPoint3D p, Map map, Point3D loc, Direction d, out int newZ) { if (m_Impl != null) { return(m_Impl.CheckMovement(p, map, loc, d, out newZ)); } newZ = p.Z; return(false); }