Latin sentences have no structure. How you tell the context is by how the nouns are declined.

For example: To say "I ate dinner" you would say "ego consumo cenam", the "ego" is not necessary, but for the sake of my example it is.

If for example you said "meum consumat cena" then you would be saying "The dinner ate me."

Same word order, different forms.