28 lines
451 B
Plaintext
28 lines
451 B
Plaintext
|
note
|
||
|
description: "[
|
||
|
Abstraction for the brown land in VITP
|
||
|
]"
|
||
|
author: "Jimmy J. Johnson"
|
||
|
|
||
|
deferred class
|
||
|
LAND
|
||
|
|
||
|
inherit
|
||
|
|
||
|
LOCATION
|
||
|
|
||
|
feature {NONE} -- Inapplicable
|
||
|
|
||
|
adjacent_sea_areas: LINEAR [SEA_AREA]
|
||
|
-- A list of all sea areas that touch this location
|
||
|
do
|
||
|
-- satisfy void safety
|
||
|
Result := (create {LINKED_SET [SEA_AREA]}.make).linear_representation
|
||
|
check
|
||
|
do_not_call: False
|
||
|
-- Because not applicable
|
||
|
end
|
||
|
end
|
||
|
|
||
|
end
|