point.h
来自「通用网络游戏开发框架」· C头文件 代码 · 共 26 行
H
26 行
// This file needs -*- c++ -*- mode
// ============================================================================
// Point interface
//
// (c) 2003 Ken Reed
//
// This is free software. You can redistribute it and/or modify it under the
// terms of the GNU General Public License version 2 as published by the Free
// Software Foundation.
// ============================================================================
#pragma once
class Point {
public:
int x;
int y;
Point();
Point(int x, int y);
int distance_to(Point p);
operator POINT() const;
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?