public AddItem ( Item item, int xOffset, int yOffset, int zOffset ) : void | ||
item | Item | |
xOffset | int | |
yOffset | int | |
zOffset | int | |
Результат | void |
public virtual void AddItem( Item item, int xOffset, int yOffset, int zOffset )
{
m_Items.Add( item );
int zavg = Map.GetAverageZ(X + xOffset, Y + yOffset);
item.MoveToWorld( new Point3D( X + xOffset, Y + yOffset, zavg + zOffset ), Map );
}