Skeleton for model classes.

Signed-off-by: RosimInc <rosim_inc@hotmail.com>
This commit is contained in:
RosimInc 2015-08-11 03:18:31 -04:00
parent 511e53372e
commit 7362541eaf
19 changed files with 221 additions and 12 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:

View File

@ -3,14 +3,17 @@
--- !u!129 &1
PlayerSettings:
m_ObjectHideFlags: 0
serializedVersion: 7
serializedVersion: 6
AndroidProfiler: 0
defaultScreenOrientation: 4
targetDevice: 2
targetGlesGraphics: -1
targetIOSGraphics: -1
targetResolution: 0
accelerometerFrequency: 60
companyName: DefaultCompany
productName: DeathBook
cloudProjectId:
defaultCursor: {fileID: 0}
cursorHotspot: {x: 0, y: 0}
m_ShowUnitySplashScreen: 1
@ -23,6 +26,7 @@ PlayerSettings:
m_ActiveColorSpace: 0
m_MTRendering: 1
m_MobileMTRendering: 0
m_UseDX11: 1
m_Stereoscopic3D: 0
iosShowActivityIndicatorOnLoading: -1
androidShowActivityIndicatorOnLoading: -1
@ -77,7 +81,6 @@ PlayerSettings:
metroEnableIndependentInputSource: 0
metroEnableLowLatencyPresentationAPI: 0
xboxOneDisableKinectGpuReservation: 0
virtualRealitySupported: 0
productGUID: 402278fad2098ce4eab29439139ae9ad
AndroidBundleVersionCode: 1
AndroidMinSdkVersion: 9
@ -120,7 +123,6 @@ PlayerSettings:
iOSLaunchScreenCustomXibPath:
AndroidTargetDevice: 0
AndroidSplashScreenScale: 0
androidSplashScreen: {fileID: 0}
AndroidKeystoreName:
AndroidKeyaliasName:
AndroidTVCompatibility: 1
@ -134,7 +136,6 @@ PlayerSettings:
resolutionDialogBanner: {fileID: 0}
m_BuildTargetIcons: []
m_BuildTargetBatching: []
m_BuildTargetGraphicsAPIs: []
webPlayerTemplate: APPLICATION:Default
m_TemplateCustomTags: {}
actionOnDotNetUnhandledException: 1
@ -196,7 +197,6 @@ PlayerSettings:
ps4ApplicationParam2: 0
ps4ApplicationParam3: 0
ps4ApplicationParam4: 0
ps4GarlicHeapSize: 2048
ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ
ps4pnSessions: 1
ps4pnPresence: 1
@ -339,7 +339,8 @@ PlayerSettings:
blackberrySquareSplashScreen: {fileID: 0}
tizenProductDescription:
tizenProductURL:
tizenSigningProfileName:
tizenCertificatePath:
tizenCertificatePassword:
tizenGPSPermissions: 0
tizenMicrophonePermissions: 0
stvDeviceAddress:
@ -397,9 +398,4 @@ PlayerSettings:
- WebGL::template
WebGL::emscriptenArgs:
WebGL::template: APPLICATION:Default
firstStreamedSceneWithResources: 0
cloudProjectId:
projectId:
projectName:
organizationId:
cloudEnabled: 0
firstStreamedLevelWithResources: 0