- (optimisation) add flags in GameObject to determine the object type. Avoids dynamic cast