コード例 #1
0
ファイル: ItemBoard.cs プロジェクト: haripo/sprinkler
        public ItemBoard(GameBase game)
            : base(game)
        {
            texture = Game.Content.Load<Texture2D>(@"itemboard");
            frameAnimation = new FrameAnimation(texture, frameWidth, frameHeight, 400);

            HitCount = 0;
        }
コード例 #2
0
ファイル: ByciclePasser.cs プロジェクト: haripo/sprinkler
 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);
 }