mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-31 02:35:46 +01:00
Rename Entity.cpp to EntityBase.cpp
This commit is contained in:
22
src/openrct2/entity/EntityBase.cpp
Normal file
22
src/openrct2/entity/EntityBase.cpp
Normal file
@@ -0,0 +1,22 @@
|
||||
/*****************************************************************************
|
||||
* Copyright (c) 2014-2021 OpenRCT2 developers
|
||||
*
|
||||
* For a complete list of all authors, please refer to contributors.md
|
||||
* Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2
|
||||
*
|
||||
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
||||
*****************************************************************************/
|
||||
|
||||
#include "EntityBase.h"
|
||||
|
||||
#include "../core/DataSerialiser.h"
|
||||
|
||||
void EntityBase::Serialise(DataSerialiser& stream)
|
||||
{
|
||||
stream << Type;
|
||||
stream << sprite_index;
|
||||
stream << x;
|
||||
stream << y;
|
||||
stream << z;
|
||||
stream << sprite_direction;
|
||||
}
|
||||
Reference in New Issue
Block a user