コード例 #1
0
 public BasicEffectShape(Game game, BasicEffectShapes shape, int shapeNumber, LightingType scene)
     : base(game)
 {
     this.shape       = shape;
     this.shapeNumber = shapeNumber;
     this.scene       = (int)scene;
     CreateShape();
 }
コード例 #2
0
 public BasicEffectShape(Game game, BasicEffectShapes shape, PlayerIndex player, int shapeNumber, LightingType scene)
     : base(game)
 {
     Debug.Assert(shape == BasicEffectShapes.Weapon, "Constructor should only be called with Weapon");
     this.player      = player;
     this.shape       = shape;
     this.shapeNumber = shapeNumber;
     this.scene       = (int)scene;
     CreateShape();
 }
コード例 #3
0
ファイル: BasicEffectShape.cs プロジェクト: RaulPB/videogames
 public BasicEffectShape(Game game, BasicEffectShapes shape, int shapeNumber, LightingType scene)
     : base(game)
 {
     this.shape = shape;
     this.shapeNumber = shapeNumber;
     this.scene = (int)scene;
     CreateShape();
 }
コード例 #4
0
ファイル: BasicEffectShape.cs プロジェクト: RaulPB/videogames
 public BasicEffectShape(Game game, BasicEffectShapes shape, PlayerIndex player, int shapeNumber, LightingType scene)
     : base(game)
 {
     Debug.Assert(shape == BasicEffectShapes.Weapon, "Constructor should only be called with Weapon");
     this.player = player;
     this.shape = shape;
     this.shapeNumber = shapeNumber;
     this.scene = (int)scene;
     CreateShape();
 }