代码搜索:mapobject
找到约 52 项符合「mapobject」的源代码
代码结果 52
www.eeworm.com/read/414031/11133005
h gamemap.h
#ifndef __GAMEMAP
#define __GAMEMAP
#include "bitmaptool.h"
struct MapObject
{
int x;
int y;
int w;
int h;
int id;
int iframe;
int iframemax;//最大帧数
int show; //是否显示
};
stru
www.eeworm.com/read/453468/7419356
h mapnpc.h
#pragma once
#include "NPC.h"
class MapNpc : public NPC
{
public:
MapNpc();
virtual ~MapNpc();
virtual VOID Update( DWORD dwDeltaTick );
virtual VOID Reuse() { Release(); }
www.eeworm.com/read/192391/5157084
h enemy.h
#ifndef _ENEMY_H
#define _ENEMY_H
#include "MapObject.h"
#include "Surface.h"
class Enemy :
public MapObject
{
public:
enum Behavior
{
BEHAVIOR_DISABLED,
BEHAVIOR_PATROL,
www.eeworm.com/read/192391/5157068
h player.h
#ifndef _PLAYER_H
#define _PLAYER_H
#include "MapObject.h"
#include "Surface.h"
#include
class Enemy;
class Player :
public MapObject
{
public:
enum BodyState
www.eeworm.com/read/192391/5157083
h trigger.h
#ifndef _TRIGGER_H
#define _TRIGGER_H
#include "FixVec2.h"
#include "MapObject.h"
#include
class MapObject;
class Trigger
{
public:
enum Flags
{
FLAG_ENABLED
www.eeworm.com/read/170282/9812149
h maplines.h
#ifndef _MAPLINES_H_
#define _MAPLINES_H_
//#include "mapobject.h"
#include "coord.h"
///////////////////////////////////////////////////////////////////////////////
class CLongLines : publ