CantBeHere (Kernel)¶
-
CantBeHere
(view)¶
-
CantBeHere
(view castList) Checks the view to see if it is not allowed to be at its current coordinates on the screen.
Important
SCI1.1 only. For SCI0, see
CanBeHere()
.Parameters: - view (heapPtr) – An object that inherits from
View
. - cast (k_list) – Optional cast list.
Returns: TRUE if it cannot be where it is, FALSE otherwise.
Note
This is used in the class system when the object moves. If it can’t be where it is, it sets it to it’s previous coordinates. If castList is specified, it checks the viewObj against the objects in the list to see if it can be where it is.
- view (heapPtr) – An object that inherits from