Пример #1
0
 public ShadowComponent(GameComponent input)
 {
     setTexture(input.getTexture());
     setPos(input.getPosition());
     setScale(input.properties.scale.X);
 }
Пример #2
0
 public void updateScaleAndPosition(GameComponent input)
 {
     setPos(input.getPosition());
     setScale(input.properties.scale.X);
 }
Пример #3
0
 public void setValuesToImage(GameComponent image)
 {
     properties.Width  = image.properties.width;
     properties.Height = image.properties.height;
     setPos(image.getPosition());
 }