Exemple #1
0
        public Actor( CubeGame game, CubeScreen screen, Cube cube, Vector3 worldPos, Direction upDir )
            : this(game, screen)
        {
            Cube = cube;
            mCubePosition = worldPos;
            UpDir = upDir;

            CubeFace = Cube.GetFaceFromPosition( mCubePosition );
        }
 public DrawableCubeScreenGameComponent( CubeGame game, CubeScreen screen )
     : base(game)
 {
     Screen = screen;
 }
Exemple #3
0
 public Actor( CubeGame game, CubeScreen screen )
     : base(game, screen)
 {
 }
 public GameHud( CubeScreen screen )
     : base(screen.Game)
 {
     Screen = screen;
     this.DrawOrder = 2;
 }