mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-22 18:30:27 +01:00
28 lines
432 B
JavaScript
28 lines
432 B
JavaScript
/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */
|
|
|
|
108
|
|
%{
|
|
#include "EntitiesMP/StdH/StdH.h"
|
|
#include <Engine/Terrain/Terrain.h>
|
|
%}
|
|
|
|
class CTerrainEntity : CEntity {
|
|
name "Terrain";
|
|
thumbnail "Thumbnails\\Terrain.tbn";
|
|
|
|
properties:
|
|
components:
|
|
functions:
|
|
procedures:
|
|
Main()
|
|
{
|
|
// Init entity as terrain
|
|
InitAsTerrain();
|
|
TerrainChangeNotify();
|
|
SetCollisionFlags(ECF_BRUSH);
|
|
return;
|
|
}
|
|
};
|
|
|
|
|