Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * @author KKnD
- */
- public final class L2FenceInstance extends L2Object
- {
- private int _type;
- private int _width;
- private int _height;
- public L2FenceInstance(int objectId, int type, int width, int height)
- {
- super(objectId);
- _type = type;
- _width = width;
- _height = height;
- }
- @Override
- public void sendInfo(L2PcInstance activeChar)
- {
- activeChar.sendPacket(new ExColosseumFenceInfoPacket(this));
- }
- public int getType()
- {
- return _type;
- }
- public int getWidth()
- {
- return _width;
- }
- public int getHeight()
- {
- return _height;
- }
- @Override
- public boolean isAutoAttackable(L2Character attacker)
- {
- return false;
- }
- }
Add Comment
Please, Sign In to add comment