GrandLarceny.DevelopmentState.collidedWithObject C# (CSharp) Method

collidedWithObject() public method

public collidedWithObject ( Vector2 a_coordinate ) : bool
a_coordinate Vector2
return bool
        public override bool collidedWithObject(Vector2 a_coordinate)
        {
            foreach (GameObject t_gameObject in m_gameObjectList[m_currentLayer])
            {
                if (t_gameObject is Environment || t_gameObject is LightCone)
                {
                    continue;
                }
                if (((Entity)t_gameObject).getImageBox().contains(a_coordinate))
                {
                    return true;
                }
            }
            return false;
        }