mirror of
https://github.com/ConjureETS/DeathBook.git
synced 2026-03-25 21:10:57 +00:00
Merge branch 'master' of https://github.com/ConjureETS/DeathBook
This commit is contained in:
commit
0308d02e84
9
Assets/Scripts.meta
Normal file
9
Assets/Scripts.meta
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: b68a08cedb68a2d4bb3894a4a0b77d6c
|
||||||
|
folderAsset: yes
|
||||||
|
timeCreated: 1439243165
|
||||||
|
licenseType: Free
|
||||||
|
DefaultImporter:
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
9
Assets/Scripts/Models.meta
Normal file
9
Assets/Scripts/Models.meta
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 974cc7ed9d5db3943968b47bd0b98e40
|
||||||
|
folderAsset: yes
|
||||||
|
timeCreated: 1439243383
|
||||||
|
licenseType: Free
|
||||||
|
DefaultImporter:
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
9
Assets/Scripts/Models/Headline.cs
Normal file
9
Assets/Scripts/Models/Headline.cs
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
|
public class Headline : Post
|
||||||
|
{
|
||||||
|
private Person author;
|
||||||
|
}
|
||||||
12
Assets/Scripts/Models/Headline.cs.meta
Normal file
12
Assets/Scripts/Models/Headline.cs.meta
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 4def8d18c7829f44ab0029672366bfbf
|
||||||
|
timeCreated: 1439245587
|
||||||
|
licenseType: Free
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
10
Assets/Scripts/Models/Level.cs
Normal file
10
Assets/Scripts/Models/Level.cs
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
using UnityEngine;
|
||||||
|
using System.Collections;
|
||||||
|
|
||||||
|
public class Level {
|
||||||
|
private int points;
|
||||||
|
private Person[] peeps;
|
||||||
|
//private Generator gen;
|
||||||
|
private int gameTime;
|
||||||
|
private int globalAwareness;
|
||||||
|
}
|
||||||
12
Assets/Scripts/Models/Level.cs.meta
Normal file
12
Assets/Scripts/Models/Level.cs.meta
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 06380a86daa643d40a6b59e0904bbae8
|
||||||
|
timeCreated: 1439245172
|
||||||
|
licenseType: Free
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
10
Assets/Scripts/Models/LevelGenerator.cs
Normal file
10
Assets/Scripts/Models/LevelGenerator.cs
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
public class LevelGenerator
|
||||||
|
{
|
||||||
|
public Level generateLevel(/*put stuff here*/)
|
||||||
|
{
|
||||||
|
//and here...
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
12
Assets/Scripts/Models/LevelGenerator.cs.meta
Normal file
12
Assets/Scripts/Models/LevelGenerator.cs.meta
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 983b9f108b9177442b67db8b9f1b7d43
|
||||||
|
timeCreated: 1439255246
|
||||||
|
licenseType: Free
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
9
Assets/Scripts/Models/LinkedList.cs
Normal file
9
Assets/Scripts/Models/LinkedList.cs
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
|
public class LinkedList
|
||||||
|
{
|
||||||
|
//TODO
|
||||||
|
}
|
||||||
12
Assets/Scripts/Models/LinkedList.cs.meta
Normal file
12
Assets/Scripts/Models/LinkedList.cs.meta
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 5daed73a22f6a4349b8209a1c516f0d5
|
||||||
|
timeCreated: 1439245587
|
||||||
|
licenseType: Free
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
31
Assets/Scripts/Models/Person.cs
Normal file
31
Assets/Scripts/Models/Person.cs
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
using UnityEngine;
|
||||||
|
using System.Collections;
|
||||||
|
|
||||||
|
public class Person
|
||||||
|
{
|
||||||
|
private string name;
|
||||||
|
private Person[] friendList;
|
||||||
|
private int friendCount; //lazy
|
||||||
|
private int timeBetweenPosts; // f = 1/T;
|
||||||
|
private int connectionTime;
|
||||||
|
private int disconnectionTime;
|
||||||
|
private int awarenessLevel;
|
||||||
|
private bool alive;
|
||||||
|
|
||||||
|
private int happiness;
|
||||||
|
private bool connected;
|
||||||
|
|
||||||
|
//private Node node;
|
||||||
|
|
||||||
|
|
||||||
|
private bool isConnected(int time)
|
||||||
|
{
|
||||||
|
return disconnectionTime > time && time > connectionTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
private int calculateWeight()
|
||||||
|
{
|
||||||
|
//friendCount * ____ + 1/timeBetweenPosts + }
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
12
Assets/Scripts/Models/Person.cs.meta
Normal file
12
Assets/Scripts/Models/Person.cs.meta
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: f10827189ed05554c96ae29b44a637f8
|
||||||
|
timeCreated: 1439243485
|
||||||
|
licenseType: Free
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
8
Assets/Scripts/Models/Post.cs
Normal file
8
Assets/Scripts/Models/Post.cs
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
public class Post
|
||||||
|
{
|
||||||
|
private string text;
|
||||||
|
private string title;
|
||||||
|
private string date;
|
||||||
|
}
|
||||||
12
Assets/Scripts/Models/Post.cs.meta
Normal file
12
Assets/Scripts/Models/Post.cs.meta
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: ed5835497655c434cabf5fd3ca1133af
|
||||||
|
timeCreated: 1439245587
|
||||||
|
licenseType: Free
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
16
Assets/Scripts/Models/PostGenerator.cs
Normal file
16
Assets/Scripts/Models/PostGenerator.cs
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
public class PostGenerator
|
||||||
|
{
|
||||||
|
public Status generateStatus(/*put stuff here*/)
|
||||||
|
{
|
||||||
|
//and here...
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Headline generateHeadline(/*put stuff here*/)
|
||||||
|
{
|
||||||
|
//and here...
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
12
Assets/Scripts/Models/PostGenerator.cs.meta
Normal file
12
Assets/Scripts/Models/PostGenerator.cs.meta
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 9825f72cd78a19c479ac0bf44b75d365
|
||||||
|
timeCreated: 1439245587
|
||||||
|
licenseType: Free
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
6
Assets/Scripts/Models/Status.cs
Normal file
6
Assets/Scripts/Models/Status.cs
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
public class Status : Post
|
||||||
|
{
|
||||||
|
//TODO
|
||||||
|
}
|
||||||
12
Assets/Scripts/Models/Status.cs.meta
Normal file
12
Assets/Scripts/Models/Status.cs.meta
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 41f61770c29a24a43bfae2dd8020520a
|
||||||
|
timeCreated: 1439245587
|
||||||
|
licenseType: Free
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
Loading…
x
Reference in New Issue
Block a user