EntityScroller scrolls the camera to the position of a entity using its space component.
| 366 | |
| 367 | // EntityScroller scrolls the camera to the position of a entity using its space component. |
| 368 | type EntityScroller struct { |
| 369 | *SpaceComponent |
| 370 | TrackingBounds engo.AABB |
| 371 | Rotation bool |
| 372 | } |
| 373 | |
| 374 | // New adjusts CameraBounds to the bounds of EntityScroller. |
| 375 | func (c *EntityScroller) New(*ecs.World) { |
nothing calls this directly
no outgoing calls
no test coverage detected