giveOrder( order, entity )

instance function

Give a command to this GameObject using an Entity (or any derived type) as the parameter.

Arguments

Name Type Description
command GameObject.Order The command to give to the GameObject
entity Entity The Entity to be used in the context of the command