public void setRelativePosition(GameComponent component) { relativePosition = component.getPosition(); }
public ShadowComponent(GameComponent input) { setTexture(input.getTexture()); setPos(input.getPosition()); setScale(input.properties.scale.X); }
public void updateScaleAndPosition(GameComponent input) { setPos(input.getPosition()); setScale(input.properties.scale.X); }
public void setValuesToImage(GameComponent image) { properties.Width = image.properties.width; properties.Height = image.properties.height; setPos(image.getPosition()); }