This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
class Distance | |
{ | |
public: | |
//Overloaded constructor example | |
//constructor with no args (default values) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/******************************* HEADER FILE ******************************************************** | |
File: EndangeredSpecies_H.h | |
Name: Dana Muise | |
Date: 4/29/2013 | |
Purpose: Function construtors for Endagered Species application | |
The Endangered Species Application opens a text file named "animals.txt" and displays the a list of endagered animals. | |
Three attributes are displayed: Name, population and species. The following actions are possible: | |
-Display the list | |
-Modify selected attributes of list members |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/******************************* DRIVER ******************************************************** | |
File: EndagererSpecies_Functions.cpp | |
Name: Dana Muise | |
Date: 4/29/2013 | |
Purpose: Functions for Endagered Species application | |
*/ | |
#include <iostream> | |
#include <ctype.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/******************************* DRIVER FILE ******************************************************** | |
File: EndagererSpecies_Driver.cpp | |
Name: Dana Muise | |
Date: 4/29/2013 | |
*/ | |
#include <iostream> | |
#include "EndageredSpecies_H.h" | |
using namespace danaMuise; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
/* | |
This script controls generic non-player characters with NavAgent component that walk around the | |
envronment, visiting waypoints and avoiding collisions. | |
*/ | |
public class Generic_NonPlayer : MonoBehaviour { | |
private GameObject[] wayPoints; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
/* | |
This script controls generic non-player characters that follow another character. | |
*/ | |
public class Follow_NonPlayer : MonoBehaviour { | |
Animator anim; | |
NavMeshAgent agent; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package PJ4; | |
import java.util.*; | |
/* A Console based poker game by Dana Muise (SFSU 913048115) 6/2016 | |
* This is the main poker game class. | |
* It uses Decks and Card objects to implement poker game. | |
*/ | |
public class MyPokerGame { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Shader "PACKT/Glass" { | |
// Custom glass shader by Dana Muise | |
// Mutli pass functions provide transparent effects on both sides of geometry. | |
Properties { | |
_Color ("Color", Color) = (1,1,1,1) | |
_MainTex ("Albedo (RGB)", 2D) = "white" {} | |
_Glossiness ("Smoothness", Range(0,1)) = 0.5 | |
_Metallic ("Metallic", Range(0,1)) = 0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
namespace ProjectKing { | |
/** | |
//Add this script to a gameobject that you would like to instantiate a particle effect object | |
//Also optimizes particle emmisions based on frame rate drop | |
// | |
**/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Snake Game</title> | |
<style> | |
canvas{ | |
display: block; | |
margin: 0 auto; | |
} | |
</style> | |
</head> |
OlderNewer