TrueCraft/TrueCraft.API/World/BlockChangeEventArgs.cs

19 lines
493 B
C#
Raw Normal View History

using System;
using TrueCraft.API.Logic;
namespace TrueCraft.API.World
{
public class BlockChangeEventArgs : EventArgs
{
2015-01-26 17:05:26 -07:00
public BlockChangeEventArgs(Coordinates3D position, BlockDescriptor oldBlock, BlockDescriptor newBlock)
{
Position = position;
OldBlock = oldBlock;
NewBlock = newBlock;
}
public Coordinates3D Position;
2015-01-26 17:05:26 -07:00
public BlockDescriptor OldBlock;
public BlockDescriptor NewBlock;
}
}