# studyAircraftModel **Repository Path**: ywt712/study-aircraft-model ## Basic Information - **Project Name**: studyAircraftModel - **Description**: 这个一个基于java JFrame的,用于教学面向对象的案例代码 - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-01-24 - **Last Updated**: 2023-01-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # studyAircraftModel #### 介绍 这个一个基于java JFrame的,用于教学面向对象的案例代码 #### 软件架构 基于JFrame #### 使用方法 1. 创建一个AircraftModel类 2. 设置AircraftModel类的参数(常用参数列表如下方表格) 3. 创建一个MapModel类 4. 运行 | 属性 | 输入类型 | 描述 | |---|:---:|---| | step |int|控制飞机的速度| | up |int|方向向上| | down |int|方向向下| | left |int|方向向左| | light |int|方向向右| | x |int|飞机与窗口右边的距离| | y |int|飞机与窗口左边的距离| #### 使用说明 默认使用wsad来控制飞机上下左右 默认飞机速度为1 用于交流与学习 #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request 5. 阿里巴巴矢量图 #### 链接 1. Github [github.com/ywtll/studyAircraftModel](https://github.com/ywtll/studyAircraftModel) 2. Gitee [gitee.com/ywt712/study-aircraft-model/](https://gitee.com/ywt712/study-aircraft-model/) 3. bilibili [www.bilibili.com/video/BV1y3411R7rW/](https://www.bilibili.com/video/BV1y3411R7rW/)