Pagini recente » Cod sursa (job #128324) | Cod sursa (job #2424544) | Cod sursa (job #820975) | Cod sursa (job #24990) | Cod sursa (job #1700571)
// // Copyright 2016 theaigames.com ([email protected])
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code.
package bot;
/**
* Move class
*
* Stores a move.
*
* @author Jim van Eeden <[email protected]>, Joost de Meij <[email protected]>
*/
public class Move {
int mX, mY;
public Move() {
}
public Move(int x, int y) {
mX = x;
mY = y;
}
public int getX() {
return mX;
}
public int getY() {
return mY;
}
}