You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
593 B
24 lines
593 B
using System; |
|
using System.Collections; |
|
using System.Collections.Generic; |
|
using AX.MessageSystem; |
|
using UnityEngine; |
|
|
|
public class DangerousRecord : DisasterLibraryRecord |
|
{ |
|
public DangerousDisaster dangerousDisaster = new DangerousDisaster(); |
|
|
|
public override void DLRecord(IMessage obj) |
|
{ |
|
DisasterRecord(dangerousDisaster); |
|
} |
|
|
|
public override void DisasterRecord(Disaster disaster) |
|
{ |
|
base.DisasterRecord(disaster); |
|
|
|
//危险品没有特殊的初始属性值需要记录 |
|
|
|
DisasterLibraryFile.Instance.DisasterRecord(disaster); |
|
} |
|
} |