2014-12-28 11:17:14 -07:00
|
|
|
|
using System;
|
2015-02-01 18:53:10 -07:00
|
|
|
|
using TrueCraft.API.Logic;
|
2014-12-28 11:17:14 -07:00
|
|
|
|
|
|
|
|
|
namespace TrueCraft.API.World
|
|
|
|
|
{
|
|
|
|
|
public class BlockChangeEventArgs : EventArgs
|
|
|
|
|
{
|
2015-01-26 17:05:26 -07:00
|
|
|
|
public BlockChangeEventArgs(Coordinates3D position, BlockDescriptor oldBlock, BlockDescriptor newBlock)
|
2014-12-28 11:17:14 -07:00
|
|
|
|
{
|
|
|
|
|
Position = position;
|
|
|
|
|
OldBlock = oldBlock;
|
|
|
|
|
NewBlock = newBlock;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Coordinates3D Position;
|
2015-01-26 17:05:26 -07:00
|
|
|
|
public BlockDescriptor OldBlock;
|
|
|
|
|
public BlockDescriptor NewBlock;
|
2014-12-28 11:17:14 -07:00
|
|
|
|
}
|
|
|
|
|
}
|