예제 #1
0
        public ItemBoard(GameBase game)
            : base(game)
        {
            texture = Game.Content.Load<Texture2D>(@"itemboard");
            frameAnimation = new FrameAnimation(texture, frameWidth, frameHeight, 400);

            HitCount = 0;
        }
예제 #2
0
 public ByciclePasser(GameBase game)
     : base(game)
 {
     texture = Game.Content.Load<Texture2D>(@"passer");
     frameAnimation = new FrameAnimation(texture, frameWidth, frameHeight, 400);
 }
예제 #3
0
파일: Couple.cs 프로젝트: haripo/sprinkler
 public Couple(GameBase game)
     : base(game)
 {
     texture = Game.Content.Load<Texture2D>(@"couple1");
     frameAnimation = new FrameAnimation(texture, frameWidth, frameHeight, 400);
 }