⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 shape.cpp

📁 S.C.O.U.R.G.E.是一款类似Rogue的游戏
💻 CPP
字号:
/***************************************************************************                          shape.cpp  -  description                             -------------------    begin                : Sat May 3 2003    copyright            : (C) 2003 by Gabor Torok    email                : cctorok@yahoo.com ***************************************************************************//*************************************************************************** *                                                                         * *   This program is free software; you can redistribute it and/or modify  * *   it under the terms of the GNU General Public License as published by  * *   the Free Software Foundation; either version 2 of the License, or     * *   (at your option) any later version.                                   * *                                                                         * ***************************************************************************/#include "shape.h"Shape::Shape(int width, int depth, int height, char *name, int descriptionGroup){  this->width = width;  this->depth = depth;  this->height = height;  this->name = name;  this->descriptionGroup = descriptionGroup;  this->stencil = false;}Shape::Shape(Shape *shape) {  this->width = shape->getWidth();  this->depth = shape->getDepth();  this->height = shape->getHeight();  this->name = shape->getName();  this->descriptionGroup = shape->getDescriptionGroup();}Shape::~Shape(){}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -