public Camera() { m_location = new LocationComponent(this); m_target = new FollowTargetComponent(this, m_location); m_restrictPosition = new RestrictLocationComponent(this, m_location); m_zoom = 1.0; }
public FollowTargetComponent(Entity entity, LocationComponent location) : base(entity) { m_location = location; }
public RestrictLocationComponent(Entity entity, LocationComponent location) : base(entity) { m_location = location; }