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

📄 box.hh

📁 一个机器人平台
💻 HH
字号:
/////////////////////////////////////////////////////////////////////////////// File: boxobstacle.hh// Author: Andrew Howard// Date: 18 Dec 2000// Desc: Simulates box obstacles//// CVS info://  $Source: /cvsroot/playerstage/code/stage/src/models/Attic/box.hh,v $//  $Author: rtv $//  $Revision: 1.2 $//// Usage://  (empty)//// Theory of operation://  (empty)//// Known bugs://  (empty)//// Possible enhancements://  (empty)/////////////////////////////////////////////////////////////////////////////#ifndef BOX_HH#define BOX_HH#include "entity.hh"class CBox : public CEntity{  // Default constructor  public: CBox( LibraryItem *libit, CWorld *world, CEntity *parent);  // a static named constructor - a pointer to this function is given  // to the Library object and paired with a string.  When the string  // is seen in the worldfile, this function is called to create an  // instance of this entitypublic: static CBox* Creator( LibraryItem *libit,  CWorld *world, CEntity *parent )  {    return( new CBox( libit, world, parent ) );  }  // Update the device  public: virtual void Update(double sim_time);};#endif

⌨️ 快捷键说明

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