Esempio n. 1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (Raumschach game = new Raumschach())
     {
         game.Run();
     }
 }
Esempio n. 2
0
 //THE "false" SET THIS AS A NON TRANSPARENT POSITIONABLEMODEL
 public Piece(PiecesTypes type, Raumschach game, ContentManager cManager, Square occ, SideType side, Square[, ,] sqrs)
     : base(PiecesTypesModels[type], game, cManager, true)
 {
     occ.OccupyingPiece = this;
     squares            = sqrs;
     this.side          = side;
     this.PieceType     = type;
     this.wTrans        = FinalWorldTransform;
 }
Esempio n. 3
0
        public PositionableModel(String modelName, Raumschach game, Matrix worldTrans, ContentManager cManager, bool transparent)

        {
            this.WorldTransform = worldTrans;
            this.contentManager = cManager;
            this.transparent    = transparent;
            this.model          = game.Models[modelName.ToLower()];
            this.game           = game;
        }
Esempio n. 4
0
 public Piece(PiecesTypes type, Raumschach game, Square occ, SideType side, Square[,,] sqrs)
     : this(type, game, game.Content, occ, side, sqrs)
 {
 }
Esempio n. 5
0
 public PositionableModel(String modelName, Raumschach game, Matrix worldTrans, bool transparent)
     : this(modelName, game, worldTrans, game.Content, transparent)
 {
 }
Esempio n. 6
0
 public PositionableModel(String modelName, Raumschach game, ContentManager cManager, bool transparent)
     : this(modelName, game, Matrix.Identity, cManager, transparent)
 {
 }
Esempio n. 7
0
 public PositionableModel(String modelName, Raumschach game, bool transparent)
     : this(modelName, game, Matrix.Identity, game.Content, transparent)
 {
 }
Esempio n. 8
0
 public ChessboardLogics(Raumschach game)
 {
     this.Game = game;
 }