Example #1
0
 public RevisionSprite(GitRevision revision, int x, int y, float opacity)
 {
     Revision = revision;
     X        = new AnimatedValue <int>(x);
     Y        = new AnimatedValue <int>(y);
     Opacity  = new AnimatedValue <float>(opacity);
 }
Example #2
0
        public RevisionSprite(GitRevision revision)
        {
            Revision = revision;

            X       = new AnimatedValue <int>(0);
            Y       = new AnimatedValue <int>(0);
            Opacity = new AnimatedValue <float>(1);
        }