more logic for enemies/objects