CType casts a variable to a specific type, Resource in this example. Exactly the same as the ()-Operator in the C# code.
In Delphi, typecasting is done this way:
TType(variable).
Applied to your code that would be:
Delphi-Quelltext
1:
| Resource(iter.Current); |
I would recommend to name the Resource datatype according to the standard,
TResource.
"The phoenix's price isn't inevitable. It's not part of some deep balance built into the universe. It's just the parts of the game where you haven't figured out yet how to cheat."