Add a lua actor facing helper.

This commit is contained in:
Paul Chote
2013-12-15 21:11:44 +13:00
parent 49ba44fbaa
commit d63dcc5dd1

View File

@@ -115,6 +115,10 @@ Actor.Owner = function(actor)
return actor.Owner
end
Actor.Facing = function(actor)
return Actor.Trait(actor, "IFacing"):get_Facing()
end
Actor.SetStance = function(actor, stance)
Internal.SetUnitStance(actor, stance)
end