Example #1
0
        public override void LoadAssets()
        {
            ImageAlt = Persistence.GetAssetCopy<Sprite>("mine");
            ImageAlt.Taille = 2;
            ImageAlt.Origine = ImageAlt.Centre;
            Circle.Radius = 15;

            base.LoadAssets();
        }
Example #2
0
 public AlienSpaceship(double visualPriority)
 {
     Image = new Image("VaisseauAlien")
     {
         SizeX = 8,
         VisualPriority = visualPriority
     };
     
     Tentacules = Persistence.GetAssetCopy<Sprite>("tentacules");
     Tentacules.Taille = 8;
     Tentacules.Origine = Tentacules.Centre;
     Tentacules.VisualPriority = Image.VisualPriority + 0.01f;
 }
 public AnimationSprite(Sprite sprite)
     : base(sprite.TempsDefilement, sprite.VisualPriority)
 {
     this.Sprite = sprite;
 }