mirror of
https://github.com/ConjureETS/DeathBook.git
synced 2026-03-24 04:20:58 +00:00
Fix, forgot the new script
Signed-off-by: RosimInc <rosim_inc@hotmail.com>
This commit is contained in:
parent
cba8d2501b
commit
efc567e8aa
21
Assets/Scripts/Models/ShoutBubble.cs
Normal file
21
Assets/Scripts/Models/ShoutBubble.cs
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
namespace DeathBook.Model
|
||||||
|
{
|
||||||
|
public class ShoutBubble
|
||||||
|
{
|
||||||
|
private int startTime;
|
||||||
|
public int StartTime { get { return startTime; } }
|
||||||
|
private int endTime;
|
||||||
|
public int EndTime { get { return endTime; } }
|
||||||
|
private Friendship friends;
|
||||||
|
public Friendship Friends { get { return friends; } }
|
||||||
|
|
||||||
|
public ShoutBubble(int startTime, Friendship friendship)
|
||||||
|
{
|
||||||
|
this.startTime = startTime;
|
||||||
|
this.endTime = startTime + (int) Utils.GetRandomValue(700, 250, 3);
|
||||||
|
friends = friendship;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
12
Assets/Scripts/Models/ShoutBubble.cs.meta
Normal file
12
Assets/Scripts/Models/ShoutBubble.cs.meta
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: cf2aa5dc0e48db047b540f99772c7bdf
|
||||||
|
timeCreated: 1439782926
|
||||||
|
licenseType: Free
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
Loading…
x
Reference in New Issue
Block a user