public void playAnimation(string ani) { if (gameEntity != null) { gameEntity.playAnimation(ani); } }
public void playAnimation(string ani) { //if(gameEntity != null) if (!System.Object.ReferenceEquals(gameEntity, null)) { gameEntity.playAnimation(ani); } }