示例#1
0
文件: Game1.cs 项目: pascalaldo/5ES03
 public Game1()
 {
     graphics = new GraphicsDeviceManager(this);
     Content.RootDirectory = "Content";
     grid = new Grid(this, 4, 10);
     aimPosition = new Vector3(5.0f * Grid.baseSize, 0.0f, 5.0f * Grid.baseSize);
 }
示例#2
0
        protected Grid grid; //Parent grid,which has to contain: public int width, height; public Block[] blocks;

        #endregion Fields

        #region Constructors

        public Block(Grid grid)
        {
            this.grid = grid;
        }
示例#3
0
 public StraightBlock(Grid grid)
     : base(grid)
 {
     //Nothing to do here lol.
 }
示例#4
0
文件: Block.cs 项目: pascalaldo/5ES03
 public TriBlock(Grid grid)
     : base(grid)
 {
     //...
 }
示例#5
0
文件: Block.cs 项目: pascalaldo/5ES03
 public SquigglyBlock(Grid grid)
     : base(grid)
 {
     //...
 }
示例#6
0
文件: Block.cs 项目: pascalaldo/5ES03
 public SquareBlock(Grid grid)
     : base(grid)
 {
     //...
 }
示例#7
0
文件: Block.cs 项目: pascalaldo/5ES03
 public LBlock(Grid grid)
     : base(grid)
 {
     //...
 }