Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // -- Complex types and equality --
- //
- // Normally, comparing two "complex" objects with the == or != operators will only compare the
- // object reference, not the contained object data. However, a few types will compare the contained
- // data instead. These types are:
- //
- // abilcmd, point, string, unitfilter, unitref
- //
- // Examples:
- //
- // Point(1, 2) == Point(1, 2) // True
- // "test string" == "test string" // True (note: this is case sensitive)
- // AbilityCommand("move", 0) == AbilityCommand("move", 0) // True
- // Order(abilCmd) == Order(abilCmd) // False (two different order instances)
- // RegionEmpty() == RegionEmpty() // False (two different region instances)
Advertisement
Add Comment
Please, Sign In to add comment