public GameObject(string name, Vector2 position, float rotation, Vector2 origin, Vector2 scale) { this.Name = name; this.relativePosition = position; this.relativeRotation = rotation; this.origin = origin; this.relativeScale = scale; this.kinematics = new KinematicProperties(this); }
public GameObject(string name, Vector2 position) { this.Name = name; this.relativePosition = position; this.relativeRotation = 0.0f; this.origin = Vector2.Zero; this.relativeScale = Vector2.One; this.kinematics = new KinematicProperties(this); }