Class MapleDragon
java.lang.Object
server.maps.MapleMapObject
server.maps.AnimatedMapleMapObject
server.maps.MapleDragon
楓之谷龍(Evan 職業夥伴龍)的地圖物件表示。
繼承自 AnimatedMapleMapObject,以召喚獸型態(MapleMapObjectType.SUMMON)
存在於地圖中。建構時驗證擁有者職業(jobid)必須在 Evan 範圍(2200~2218)內,
否則拋出 RuntimeException。生成與移除封包分別由
CField.spawnDragon(MapleDragon) 與 CField.removeDragon(int) 提供;
owner 欄位存放角色 ID,供移除封包正確對應客戶端顯示。
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetJobId()intgetOwner()getType()voidsendDestroyData(MapleClient client) voidsendSpawnData(MapleClient client) Methods inherited from class AnimatedMapleMapObject
getFacingDirection, getStance, isFacingLeft, setStanceMethods inherited from class MapleMapObject
getObjectId, getPosition, getRange, getTruePosition, setObjectId, setPosition
-
Constructor Details
-
MapleDragon
-
-
Method Details
-
sendSpawnData
- Specified by:
sendSpawnDatain classMapleMapObject
-
sendDestroyData
- Specified by:
sendDestroyDatain classMapleMapObject
-
getOwner
public int getOwner() -
getJobId
public int getJobId() -
getType
- Specified by:
getTypein classMapleMapObject
-