/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (Raumschach game = new Raumschach()) { game.Run(); } }
//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; }
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; }
public Piece(PiecesTypes type, Raumschach game, Square occ, SideType side, Square[,,] sqrs) : this(type, game, game.Content, occ, side, sqrs) { }
public PositionableModel(String modelName, Raumschach game, Matrix worldTrans, bool transparent) : this(modelName, game, worldTrans, game.Content, transparent) { }
public PositionableModel(String modelName, Raumschach game, ContentManager cManager, bool transparent) : this(modelName, game, Matrix.Identity, cManager, transparent) { }
public PositionableModel(String modelName, Raumschach game, bool transparent) : this(modelName, game, Matrix.Identity, game.Content, transparent) { }
public ChessboardLogics(Raumschach game) { this.Game = game; }