/// <summary> /// Constructor for a camera following an object /// </summary> /// <param name="zoom">Zoom factor</param> /// <param name="rotation">Rotation in radians</param> /// <param name="followingObject">The object the camera has to follow</param> /// <param name="graphicsDevice">A graphics device</param> public Camera(float zoom, float rotation, AnimatedObject followingObject, GraphicsDevice graphicsDevice) : this(zoom, followingObject.Center, rotation, false, graphicsDevice) { this.followingObject = followingObject; }
public virtual void killObject(AnimatedObject killer) { }