base for GameObject class