The logic object hierarchy for the submarine android game