This commit is contained in:
Patrice Vignola 2015-08-11 12:32:36 -04:00
commit 0308d02e84
18 changed files with 213 additions and 0 deletions

9
Assets/Scripts.meta Normal file
View File

@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: b68a08cedb68a2d4bb3894a4a0b77d6c
folderAsset: yes
timeCreated: 1439243165
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 974cc7ed9d5db3943968b47bd0b98e40
folderAsset: yes
timeCreated: 1439243383
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,9 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class Headline : Post
{
private Person author;
}

View 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:

View 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;
}

View 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:

View File

@ -0,0 +1,10 @@
using System.Collections.Generic;
public class LevelGenerator
{
public Level generateLevel(/*put stuff here*/)
{
//and here...
return null;
}
}

View 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:

View File

@ -0,0 +1,9 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class LinkedList
{
//TODO
}

View 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:

View 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;
}
}

View 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:

View File

@ -0,0 +1,8 @@
using System.Collections.Generic;
public class Post
{
private string text;
private string title;
private string date;
}

View 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:

View 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;
}
}

View 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:

View File

@ -0,0 +1,6 @@
using System.Collections.Generic;
public class Status : Post
{
//TODO
}

View 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: