public JG_Mouse(Vector2 pos, string spritePath, float rot, Vector2 scale) : base(pos, spritePath, rot, scale) { left = new JG_ButtonState(); right = new JG_ButtonState(); MouseCursor cursor = MouseCursor.FromTexture2D(sprite, 0, 0); Mouse.SetCursor(cursor); }
public JG_Mouse() { left = new JG_ButtonState(); right = new JG_ButtonState(); }