コード例 #1
0
ファイル: Item.cs プロジェクト: Andrey1337/XNA-CowFarm
 protected Item(CowGameScreen cowGameScreen, AnimatedSprites itemMovement, Texture2D iconTexture) : base(cowGameScreen, null)
 {
     IconTexture      = iconTexture;
     ItemMovement     = itemMovement;
     ObjectMovingType = ObjectMovingType.Static;
 }
コード例 #2
0
 protected Decoration(CowGameScreen cowGameScreen, World world, Rectangle destRect, StaticAnimatedSprites decorationMovement) : base(cowGameScreen, world)
 {
     this.DestRect           = destRect;
     this.DecorationMovement = decorationMovement;
     this.ObjectMovingType   = ObjectMovingType.Static;
 }